Documentation ¶
Overview ¶
Package cli contains the copilot subcommands.
Package cli contains the copilot commands.
Package cli contains the copilot subcommands.
Index ¶
- func BuildAppCmd() *cobra.Command
- func BuildAppDeleteCommand() *cobra.Command
- func BuildAppInitCommand() *cobra.Command
- func BuildAppListCommand() *cobra.Command
- func BuildAppShowCmd() *cobra.Command
- func BuildCompletionCmd(rootCmd *cobra.Command) *cobra.Command
- func BuildDeployCmd() *cobra.Command
- func BuildDocsCmd() *cobra.Command
- func BuildEnvCmd() *cobra.Command
- func BuildEnvDeleteCmd() *cobra.Command
- func BuildEnvInitCmd() *cobra.Command
- func BuildEnvListCmd() *cobra.Command
- func BuildEnvShowCmd() *cobra.Command
- func BuildInitCmd() *cobra.Command
- func BuildPipelineCmd() *cobra.Command
- func BuildPipelineDeleteCmd() *cobra.Command
- func BuildPipelineInitCmd() *cobra.Command
- func BuildPipelineShowCmd() *cobra.Command
- func BuildPipelineStatusCmd() *cobra.Command
- func BuildPipelineUpdateCmd() *cobra.Command
- func BuildStorageCmd() *cobra.Command
- func BuildStorageInitCmd() *cobra.Command
- func BuildSvcCmd() *cobra.Command
- func BuildSvcDeleteCmd() *cobra.Command
- func BuildSvcDeployCmd() *cobra.Command
- func BuildSvcInitCmd() *cobra.Command
- func BuildSvcListCmd() *cobra.Command
- func BuildSvcLogsCmd() *cobra.Command
- func BuildSvcPackageCmd() *cobra.Command
- func BuildSvcShowCmd() *cobra.Command
- func BuildSvcStatusCmd() *cobra.Command
- func BuildTaskCmd() *cobra.Command
- func BuildTaskRunCmd() *cobra.Command
- func BuildVersionCmd() *cobra.Command
- type GlobalOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAppCmd ¶
BuildAppCmd builds the top level app command and related subcommands.
func BuildAppDeleteCommand ¶ added in v0.1.0
BuildAppDeleteCommand builds the `app delete` subcommand.
func BuildAppInitCommand ¶ added in v0.1.0
BuildAppInitCommand builds the command for creating a new application.
func BuildAppListCommand ¶ added in v0.1.0
BuildAppListCommand builds the command to list existing applications.
func BuildAppShowCmd ¶ added in v0.0.5
BuildAppShowCmd builds the command for showing details of an application.
func BuildCompletionCmd ¶
BuildCompletionCmd returns the command to output shell completion code for the specified shell (bash or zsh).
func BuildDeployCmd ¶ added in v0.0.7
BuildDeployCmd is the deploy command - which is an alias for app deploy.
func BuildDocsCmd ¶ added in v0.1.0
BuildDocsCmd builds the command for opening the documentation.
func BuildEnvCmd ¶
BuildEnvCmd is the top level command for environments.
func BuildEnvDeleteCmd ¶
BuildEnvDeleteCmd builds the command to delete environment(s).
func BuildEnvInitCmd ¶
BuildEnvInitCmd builds the command for adding an environment.
func BuildEnvListCmd ¶
BuildEnvListCmd builds the command for listing environments in an application.
func BuildEnvShowCmd ¶ added in v0.0.8
BuildEnvShowCmd builds the command for showing environments in an application.
func BuildInitCmd ¶
BuildInitCmd builds the command for bootstrapping an application.
func BuildPipelineCmd ¶
BuildPipelineCmd is the top level command for pipelines
func BuildPipelineDeleteCmd ¶ added in v0.0.6
BuildPipelineDeleteCmd build the command for deleting an existing pipeline.
func BuildPipelineInitCmd ¶
BuildPipelineInitCmd build the command for creating a new pipeline.
func BuildPipelineShowCmd ¶ added in v0.0.8
BuildPipelineShowCmd build the command for deploying a new pipeline or updating an existing pipeline.
func BuildPipelineStatusCmd ¶ added in v0.1.0
BuildPipelineStatusCmd builds the command for showing the status of a deployed pipeline.
func BuildPipelineUpdateCmd ¶
BuildPipelineUpdateCmd build the command for deploying a new pipeline or updating an existing pipeline.
func BuildStorageCmd ¶ added in v0.1.0
BuildStorageCmd is the top level command for storage
func BuildStorageInitCmd ¶ added in v0.1.0
BuildStorageInitCmd builds the command and adds it to the CLI.
func BuildSvcCmd ¶ added in v0.1.0
BuildSvcCmd is the top level command for service.
func BuildSvcDeleteCmd ¶ added in v0.1.0
BuildSvcDeleteCmd builds the command to delete application(s).
func BuildSvcDeployCmd ¶ added in v0.1.0
BuildSvcDeployCmd builds the `svc deploy` subcommand.
func BuildSvcInitCmd ¶ added in v0.1.0
BuildSvcInitCmd build the command for creating a new service.
func BuildSvcListCmd ¶ added in v0.1.0
BuildSvcListCmd builds the command for listing services in an appication.
func BuildSvcLogsCmd ¶ added in v0.1.0
BuildSvcLogsCmd builds the command for displaying service logs in an application.
func BuildSvcPackageCmd ¶ added in v0.1.0
BuildSvcPackageCmd builds the command for printing a service's CloudFormation template.
func BuildSvcShowCmd ¶ added in v0.1.0
BuildSvcShowCmd builds the command for showing services in an application.
func BuildSvcStatusCmd ¶ added in v0.1.0
BuildSvcStatusCmd builds the command for showing the status of a deployed service.
func BuildTaskCmd ¶ added in v0.1.0
BuildTaskCmd is the top level command for task.
func BuildTaskRunCmd ¶ added in v0.1.0
BuildTaskRunCmd build the command for running a new task
func BuildVersionCmd ¶
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 ¶ added in v0.1.0
func (o *GlobalOpts) AppName() string
AppName returns the application name. If the name is empty, it caches it after querying viper.
Source Files ¶
- app.go
- app_delete.go
- app_init.go
- app_list.go
- app_show.go
- cli.go
- completion.go
- deploy.go
- dockerfile.go
- env.go
- env_delete.go
- env_init.go
- env_list.go
- env_show.go
- flag.go
- git.go
- identity.go
- init.go
- interfaces.go
- pipeline.go
- pipeline_delete.go
- pipeline_init.go
- pipeline_show.go
- pipeline_status.go
- pipeline_update.go
- progress.go
- prompter.go
- storage.go
- storage_init.go
- svc.go
- svc_delete.go
- svc_deploy.go
- svc_init.go
- svc_list.go
- svc_logs.go
- svc_package.go
- svc_show.go
- svc_status.go
- task.go
- task_run.go
- validate.go
- version.go
- wiki.go
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. |
Package selector provides functionality for users to select an application, environment, or service name.
|
Package selector provides functionality for users to select an application, environment, or service name. |