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.goclone.gocommit.goedit.goenv.gofix.gogit.goinstall.golist.goopen.gopull.gormfile.gormlink.gormrepo.goroot.goroot_subcmd.goset.gostatus.gounlink.goversion.go Directories ¶ Show internal Expand all Path Synopsis common Click to show internal directories. Click to hide internal directories.