cmd

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultRepoName = "core"
	DefaultRepoURL  = "http://raw.githubusercontent.com/snwfdhmp/duck-core/master/"
)
View Source
const (
	DuckVersion = "duck 1.0"
)

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "duck",
	Short: "Developer assistant",
	Long: `Duck is a developer assistant, it helps you to automate task
by creating custom commands (called 'lings'), or by managing
your projects.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func DuckGlobalConfPath

func DuckGlobalConfPath() (string, error)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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