Documentation
¶
Index ¶
- func NewCmdBuild(cfg *api.Config) *cobra.Command
- func NewCmdCompletion(root *cobra.Command) *cobra.Command
- func NewCmdCreate() *cobra.Command
- func NewCmdRebuild(cfg *api.Config) *cobra.Command
- func NewCmdUsage(cfg *api.Config) *cobra.Command
- func NewCmdVersion() *cobra.Command
- func RunCompletion(out io.Writer, cmd *cobra.Command, root *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdBuild ¶
NewCmdBuild implements the S2I cli build command.
func NewCmdCompletion ¶
NewCmdCompletion implements the S2I cli completion command.
func NewCmdCreate ¶
NewCmdCreate implements the S2I cli create command.
func NewCmdRebuild ¶
NewCmdRebuild implements the S2i cli rebuild command.
func NewCmdUsage ¶
NewCmdUsage implements the S2I cli usage command.
func NewCmdVersion ¶
NewCmdVersion implements the S2i cli version command.
func RunCompletion ¶
RunCompletion first checks args[0] to decide compose zsh or bash then write the content into the out bytes.Buffer if command input error will call UsageError with `cmd cobra.Command` `root cobra.Command` mainly for GenBashCompletion function
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.