func (cmd *pushCmd) Run(args []string) { context, path := discoverContext(args) exitWithError(commands.New(context, &commands.Options{ Path: path, IsRecursive: *cmd.isRecursive, IsNoPrompt: *cmd.isNoPrompt, }).Push()) }
func (cmd *initCmd) Run(args []string) { exitWithError(commands.New(initContext(args), nil).Init()) }
func (cmd *publishCmd) Run(args []string) { context, path := discoverContext(args) exitWithError(commands.New(context, &commands.Options{ Path: path, }).Publish()) }