Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.1.6"
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "gist", Short: "gist editor", Long: "gist - A simple gist editor for CLI", SilenceUsage: true, SilenceErrors: true, Run: func(cmd *cobra.Command, args []string) { if showVersion { fmt.Printf("version %s/%s\n", Version, runtime.Version()) return } if cacheClear { gist.NewCache().Clear() return } cmd.Usage() }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.