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 BuildEnvUpgradeCmd() *cobra.Command
- func BuildInitCmd() *cobra.Command
- func BuildJobCmd() *cobra.Command
- func BuildJobDeployCmd() *cobra.Command
- func BuildJobInitCmd() *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 ¶
BuildAppDeleteCommand builds the `app delete` subcommand.
func BuildAppInitCommand ¶
BuildAppInitCommand builds the command for creating a new application.
func BuildAppListCommand ¶
BuildAppListCommand builds the command to list existing applications.
func BuildAppShowCmd ¶
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 ¶
BuildDeployCmd is the deploy command - which is an alias for app deploy.
func BuildDocsCmd ¶
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 ¶
BuildEnvShowCmd builds the command for showing environments in an application.
func BuildEnvUpgradeCmd ¶ added in v0.4.0
BuildEnvUpgradeCmd builds the command to update the
func BuildInitCmd ¶
BuildInitCmd builds the command for bootstrapping an application.
func BuildJobCmd ¶ added in v0.4.0
BuildJobCmd is the top level command for jobs.
func BuildJobDeployCmd ¶ added in v0.4.0
BuildJobDeployCmd builds the `job deploy` subcommand.
func BuildJobInitCmd ¶ added in v0.4.0
BuildJobInitCmd builds the command for creating a new job.
func BuildPipelineCmd ¶
BuildPipelineCmd is the top level command for pipelines
func BuildPipelineDeleteCmd ¶
BuildPipelineDeleteCmd build the command for deleting an existing pipeline.
func BuildPipelineInitCmd ¶
BuildPipelineInitCmd build the command for creating a new pipeline.
func BuildPipelineShowCmd ¶
BuildPipelineShowCmd build the command for deploying a new pipeline or updating an existing pipeline.
func BuildPipelineStatusCmd ¶
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 ¶
BuildStorageCmd is the top level command for storage
func BuildStorageInitCmd ¶
BuildStorageInitCmd builds the command and adds it to the CLI.
func BuildSvcCmd ¶
BuildSvcCmd is the top level command for service.
func BuildSvcDeleteCmd ¶
BuildSvcDeleteCmd builds the command to delete application(s).
func BuildSvcDeployCmd ¶
BuildSvcDeployCmd builds the `svc deploy` subcommand.
func BuildSvcInitCmd ¶
BuildSvcInitCmd build the command for creating a new service.
func BuildSvcListCmd ¶
BuildSvcListCmd builds the command for listing services in an appication.
func BuildSvcLogsCmd ¶
BuildSvcLogsCmd builds the command for displaying service logs in an application.
func BuildSvcPackageCmd ¶
BuildSvcPackageCmd builds the command for printing a service's CloudFormation template.
func BuildSvcShowCmd ¶
BuildSvcShowCmd builds the command for showing services in an application.
func BuildSvcStatusCmd ¶
BuildSvcStatusCmd builds the command for showing the status of a deployed service.
func BuildTaskCmd ¶
BuildTaskCmd is the top level command for task.
func BuildTaskRunCmd ¶
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 ¶
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
- env_upgrade.go
- flag.go
- git.go
- identity.go
- init.go
- interfaces.go
- job.go
- job_deploy.go
- job_init.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