cmd

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 5 Imported by: 0

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

func Execute

func Execute()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL