Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container interface {
scene.Named
Execute() error
ListAppNames() []string
RootCommand() *cobra.Command
}
func NewContainer ¶
func NewContainer(use, short string, loader *scene.ModuleLoader, options ...RootOption) Container
NewContainer creates a root command backed by loader.
func NewRootContainer ¶
func NewRootContainer(root *cobra.Command, loader *scene.ModuleLoader, options ...RootOption) Container
NewRootContainer creates a command container backed by loader.
type RootOption ¶
func WithVersion ¶
func WithVersion(version string) RootOption
Click to show internal directories.
Click to hide internal directories.