@@ -6,5 +6,5 @@ import (
|
||||
)
|
||||
|
||||
func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
return configure.Configure("SSH", setShow)
|
||||
return configure.SSH()
|
||||
}
|
||||
|
||||
@@ -12,11 +12,9 @@ var (
|
||||
"keys.",
|
||||
RunE: CobraRunE,
|
||||
}
|
||||
setShow bool
|
||||
)
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().BoolVarP(&setShow, "show", "s", false, "Show configuration (don't update)")
|
||||
}
|
||||
|
||||
// GetRootCommand returns the root cobra.Command for the application.
|
||||
|
||||
Reference in New Issue
Block a user