Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(ctx context.Context, args []string, stdin io.Reader, stdout, stderr io.Writer, factory RuntimeFactory) error
Execute runs voie with the supplied process arguments and streams.
func NewRootCommand ¶
func NewRootCommand(ctx context.Context, stdin io.Reader, stdout, stderr io.Writer, factory RuntimeFactory) *cobra.Command
NewRootCommand builds the voie command tree. RuntimeFactory is called only when a command needs application services, so help never loads configuration or initializes providers.