func CreateCommand() *cobra.Command {
	var c *command
	c = &command{
		Command: cobra.Command{
			Use:   "version",
			Short: "report the version of the tool",
			Args:  cobra.NoArgs,
			PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
				return c.Preexecute(cmd, args)
			},
			RunE: func(cmd *cobra.Command, args []string) error {
				return c.Execute(cmd, args)
			},
		},
	}

	flgs := c.Flags()

	flags.CreateOutputFlag(flgs)

	return traverse.TraverseRunHooks(&c.Command)
}
// CreateCommand returns the version command
CreateCommand returns the version command
// CreateCommand returns the version command
func CreateCommand() *cobra.Command {
	var c *command
	c = &command{
		Command: cobra.Command{
			Use:   "version",
			Short: "report the version of the tool",
			Args:  cobra.NoArgs,
			PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
				return c.Preexecute(cmd, args)
			},
			RunE: func(cmd *cobra.Command, args []string) error {
				return c.Execute(cmd, args)
			},
		},
	}
	flgs := c.Flags()
	flags.CreateOutputFlag(flgs)
	return traverse.TraverseRunHooks(&c.Command)
}
func CreateCommand ( ) * cobra . Command { var c * command c = & command { Command : cobra . Command { Use : " " , Short : " " , Args : cobra . NoArgs , PersistentPreRunE : func ( cmd * cobra . Command , args [ ] string ) error { return c . Preexecute ( cmd , args ) } , RunE : func ( cmd * cobra . Command , args [ ] string ) error { return c . Execute ( cmd , args ) } , } , } flgs := c . Flags ( ) flags . CreateOutputFlag ( flgs ) return traverse . TraverseRunHooks ( & c . Command ) }
CreateCommand returns the version command
CreateCommand returns the version command