cli

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 65 Imported by: 0

Documentation

Overview

Package cli contains the copilot subcommands.

Package cli contains the copilot commands.

Package cli contains the copilot subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAppCmd

func BuildAppCmd() *cobra.Command

BuildAppCmd builds the top level app command and related subcommands.

func BuildAppDeleteCommand

func BuildAppDeleteCommand() *cobra.Command

BuildAppDeleteCommand builds the `app delete` subcommand.

func BuildAppInitCommand

func BuildAppInitCommand() *cobra.Command

BuildAppInitCommand builds the command for creating a new application.

func BuildAppListCommand

func BuildAppListCommand() *cobra.Command

BuildAppListCommand builds the command to list existing applications.

func BuildAppShowCmd

func BuildAppShowCmd() *cobra.Command

BuildAppShowCmd builds the command for showing details of an application.

func BuildCompletionCmd

func BuildCompletionCmd(rootCmd *cobra.Command) *cobra.Command

BuildCompletionCmd returns the command to output shell completion code for the specified shell (bash or zsh).

func BuildDeployCmd

func BuildDeployCmd() *cobra.Command

BuildDeployCmd is the deploy command - which is an alias for app deploy.

func BuildDocsCmd

func BuildDocsCmd() *cobra.Command

BuildDocsCmd builds the command for opening the documentation.

func BuildEnvCmd

func BuildEnvCmd() *cobra.Command

BuildEnvCmd is the top level command for environments.

func BuildEnvDeleteCmd

func BuildEnvDeleteCmd() *cobra.Command

BuildEnvDeleteCmd builds the command to delete environment(s).

func BuildEnvInitCmd

func BuildEnvInitCmd() *cobra.Command

BuildEnvInitCmd builds the command for adding an environment.

func BuildEnvListCmd

func BuildEnvListCmd() *cobra.Command

BuildEnvListCmd builds the command for listing environments in an application.

func BuildEnvShowCmd

func BuildEnvShowCmd() *cobra.Command

BuildEnvShowCmd builds the command for showing environments in an application.

func BuildEnvUpgradeCmd added in v0.4.0

func BuildEnvUpgradeCmd() *cobra.Command

BuildEnvUpgradeCmd builds the command to update the

func BuildInitCmd

func BuildInitCmd() *cobra.Command

BuildInitCmd builds the command for bootstrapping an application.

func BuildJobCmd added in v0.4.0

func BuildJobCmd() *cobra.Command

BuildJobCmd is the top level command for jobs.

func BuildJobDeployCmd added in v0.4.0

func BuildJobDeployCmd() *cobra.Command

BuildJobDeployCmd builds the `job deploy` subcommand.

func BuildJobInitCmd added in v0.4.0

func BuildJobInitCmd() *cobra.Command

BuildJobInitCmd builds the command for creating a new job.

func BuildPipelineCmd

func BuildPipelineCmd() *cobra.Command

BuildPipelineCmd is the top level command for pipelines

func BuildPipelineDeleteCmd

func BuildPipelineDeleteCmd() *cobra.Command

BuildPipelineDeleteCmd build the command for deleting an existing pipeline.

func BuildPipelineInitCmd

func BuildPipelineInitCmd() *cobra.Command

BuildPipelineInitCmd build the command for creating a new pipeline.

func BuildPipelineShowCmd

func BuildPipelineShowCmd() *cobra.Command

BuildPipelineShowCmd build the command for deploying a new pipeline or updating an existing pipeline.

func BuildPipelineStatusCmd

func BuildPipelineStatusCmd() *cobra.Command

BuildPipelineStatusCmd builds the command for showing the status of a deployed pipeline.

func BuildPipelineUpdateCmd

func BuildPipelineUpdateCmd() *cobra.Command

BuildPipelineUpdateCmd build the command for deploying a new pipeline or updating an existing pipeline.

func BuildStorageCmd

func BuildStorageCmd() *cobra.Command

BuildStorageCmd is the top level command for storage

func BuildStorageInitCmd

func BuildStorageInitCmd() *cobra.Command

BuildStorageInitCmd builds the command and adds it to the CLI.

func BuildSvcCmd

func BuildSvcCmd() *cobra.Command

BuildSvcCmd is the top level command for service.

func BuildSvcDeleteCmd

func BuildSvcDeleteCmd() *cobra.Command

BuildSvcDeleteCmd builds the command to delete application(s).

func BuildSvcDeployCmd

func BuildSvcDeployCmd() *cobra.Command

BuildSvcDeployCmd builds the `svc deploy` subcommand.

func BuildSvcInitCmd

func BuildSvcInitCmd() *cobra.Command

BuildSvcInitCmd build the command for creating a new service.

func BuildSvcListCmd

func BuildSvcListCmd() *cobra.Command

BuildSvcListCmd builds the command for listing services in an appication.

func BuildSvcLogsCmd

func BuildSvcLogsCmd() *cobra.Command

BuildSvcLogsCmd builds the command for displaying service logs in an application.

func BuildSvcPackageCmd

func BuildSvcPackageCmd() *cobra.Command

BuildSvcPackageCmd builds the command for printing a service's CloudFormation template.

func BuildSvcShowCmd

func BuildSvcShowCmd() *cobra.Command

BuildSvcShowCmd builds the command for showing services in an application.

func BuildSvcStatusCmd

func BuildSvcStatusCmd() *cobra.Command

BuildSvcStatusCmd builds the command for showing the status of a deployed service.

func BuildTaskCmd

func BuildTaskCmd() *cobra.Command

BuildTaskCmd is the top level command for task.

func BuildTaskRunCmd

func BuildTaskRunCmd() *cobra.Command

BuildTaskRunCmd build the command for running a new task

func BuildVersionCmd

func BuildVersionCmd() *cobra.Command

BuildVersionCmd builds the command for displaying the version

Types

type GlobalOpts

type GlobalOpts struct {
	// contains filtered or unexported fields
}

GlobalOpts holds fields that are used across multiple commands.

func NewGlobalOpts

func NewGlobalOpts() *GlobalOpts

NewGlobalOpts returns a GlobalOpts with the application name retrieved from viper.

func (*GlobalOpts) AppName

func (o *GlobalOpts) AppName() string

AppName returns the application name. If the name is empty, it caches it after querying viper.

Directories

Path Synopsis
Package groups contains the names of command groups.
Package groups contains the names of command groups.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL