Documentation ¶ Index ¶ func Execute(stdin io.Reader, stdout io.Writer, args ...string) error func RunSubCmdFromCmd(name string, cmd *cobra.Command, args ...string) error func RunSubCmdWithIO(name string, stdout, stderr io.Writer, args ...string) error type CmdFunc func GetSubCmd(name string) *CmdFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute(stdin io.Reader, stdout io.Writer, args ...string) error func RunSubCmdFromCmd ¶ added in v0.5.2 func RunSubCmdFromCmd(name string, cmd *cobra.Command, args ...string) error コマンド内から別のコマンドを実行する func RunSubCmdWithIO ¶ added in v0.5.2 func RunSubCmdWithIO(name string, stdout, stderr io.Writer, args ...string) error 出力を指定してコマンドを実行する Types ¶ type CmdFunc ¶ added in v0.5.2 type CmdFunc (func() *cobra.Command) func GetSubCmd ¶ added in v0.5.2 func GetSubCmd(name string) *CmdFunc Get a command from the command list. Source Files ¶ View all Source files add.go clone.go commit.go edit.go env.go fix.go git.go install.go list.go open.go pull.go rmfile.go rmlink.go rmrepo.go root.go root_subcmd.go set.go status.go unlink.go version.go Directories ¶ Show internal Expand all Path Synopsis common Click to show internal directories. Click to hide internal directories.