Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DNotezCmd = &cobra.Command{ Use: "dz", Short: "dz is command line interface for dNotez", Long: `dz is command line interface for dNotez dNotez is an online service for collecting, re-using and sharing code snippets, command lines and notes between software devlopers. Complete documentation is available at dNotez website`, Run: func(cmd *cobra.Command, args []string) { InitializeConfig() run() }, }
DNotezCmd is root command. Every other command attached to PlCmd is a child command to it.
View Source
var Quiet bool
View Source
var VerboseLog, ServerAddress string
Functions ¶
func AddCommands ¶
func AddCommands()
AddCommands adds child commands to the root command DNotezCmd.
func Execute ¶
func Execute()
Execute adds all child commands to the root command DNotezCmd and sets flags appropriately.
func InitializeConfig ¶
func InitializeConfig()
InitializeConfig initializes a config file with sensible default configuration flags.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.