Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "shar", Short: "SHAR command line application", Long: ``, PersistentPreRun: func(cmd *cobra.Command, args []string) { if flag.Value.Json { output.Current = &output.Json{} } else { output.Current = &output.Text{} } output.Current.SetCmd(cmd) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.