Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "sss", Short: "ShellScriptSnippet(abbr.sss) is a kind of commandline tool for managing,sharing your self created shell script to others", Long: "#########################################\n# _______. _______. _______.#\n# / | / | / |#\n# | (----` | (----` | (----`#\n# \\ \\ \\ \\ \\ \\ #\n#.----) | .----) | .----) | #\n#|_______/ |_______/ |_______/ #\n#########################################", PersistentPreRun: func(cmd *cobra.Command, args []string) { log.Init() if err := cmd_impel.InitDB(); err != nil { os.Exit(-1) } }, Run: func(cmd *cobra.Command, args []string) { cmd.Usage() }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.