* autocompletion for exec
This commit is contained in:
1 parent
a21b9cfa84
commit
121c2505e6
5 files changed
+36
-10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user