commands

package
v0.0.0-...-f6f54f1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2015 License: Apache-2.0 Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

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