// Uses portions of the help / cmd outputter in cobra13 as part of a CLI reference guide and outputs each command
Uses portions of the help / cmd outputter in cobra13 as part of a CLI reference guide and outputs each command
// Uses portions of the help / cmd outputter in cobra13 as part of a CLI reference guide and outputs each command
func referenceCommandFormatter(command *cobra.Command) string {
	return fmt.Sprintf(`## %s
%s
> Example using %s
%s
%s
`,
		command.Name(),
		"`"+command.Use+"`",
		command.Name(),
		"```sh\n"+command.Example+"\n```",
		command.Long)
}
func referenceCommandFormatter ( command * cobra . Command ) string { return fmt . Sprintf ( `## %s

%s

> Example using %s

%s


%s

` , command . Name ( ) , " " + command . Use + " " , command . Name ( ) , " \n " + command . Example + " \n " , command . Long ) }
Uses portions of the help / cmd outputter in cobra13 as part of a CLI reference guide and outputs each command
Uses portions of the help / cmd outputter in cobra13 as part of a CLI reference guide and outputs each command