sq/cli/cmd_help.go
Neil O'Toole 3180334c0c
#199: Config overhaul (#214)
* refactor: partially moved over driver.Tuning params to options

* All knobs moved to options

* sq config edit: now has comments for options

* Major work complete on config/options overhaul

* Major work complete on config/options overhaul

* Updated help text for 'sq version'
2023-05-03 06:36:10 -06:00

22 lines
312 B
Go

package cli
import (
"github.com/spf13/cobra"
)
func newHelpCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "help",
Short: "Show help",
Long: "Show help.",
Hidden: true,
RunE: execHelp,
}
return cmd
}
func execHelp(cmd *cobra.Command, _ []string) error {
return cmd.Root().Help()
}