* showing help by basic call
All checks were successful
Build and Test / build-test (1.23.4) (push) Successful in 1m37s

* autocompletion for exec
This commit is contained in:
Denys Seredenko
2025-02-18 19:34:15 +01:00
parent a21b9cfa84
commit 121c2505e6
5 changed files with 36 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ import (
var replaceCmd = &cobra.Command{
Use: "replace",
Short: "Replace in string to new string in all commands",
Short: "Replace string with new string in all commands",
Args: func(cmd *cobra.Command, args []string) error {
if err := cobra.ExactArgs(2)(cmd, args); err != nil {
return err