WIP
This commit is contained in:
@@ -160,10 +160,11 @@ func hostsRemoveRunE(_ *cobra.Command, args []string) error {
|
||||
|
||||
func newCommandHostsDefault() *cobra.Command {
|
||||
command := &cobra.Command{
|
||||
Use: "set-default",
|
||||
Short: "установка хоста по-умолчанию",
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: hostsDefaultRunE,
|
||||
Use: "set-default",
|
||||
Short: "установка хоста по-умолчанию",
|
||||
Args: cobra.ExactArgs(1),
|
||||
ValidArgsFunction: ArgHostCompletion,
|
||||
RunE: hostsDefaultRunE,
|
||||
}
|
||||
|
||||
return command
|
||||
|
||||
Reference in New Issue
Block a user