cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 57 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 added in v0.1.0

func BuildAppDeleteCommand() *cobra.Command

BuildAppDeleteCommand builds the `app delete` subcommand.

func BuildAppInitCommand added in v0.1.0

func BuildAppInitCommand() *cobra.Command

BuildAppInitCommand builds the command for creating a new application.

func BuildAppListCommand added in v0.1.0

func BuildAppListCommand() *cobra.Command

BuildAppListCommand builds the command to list existing applications.

func BuildAppShowCmd added in v0.0.5

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 added in v0.0.7

func BuildDeployCmd() *cobra.Command

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

func BuildDocsCmd added in v0.1.0

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 added in v0.0.8

func BuildEnvShowCmd() *cobra.Command

BuildEnvShowCmd builds the command for showing environments in an application.

func BuildInitCmd

func BuildInitCmd() *cobra.Command

BuildInitCmd builds the command for bootstrapping an application.

func BuildPipelineCmd

func BuildPipelineCmd() *cobra.Command

BuildPipelineCmd is the top level command for pipelines

func BuildPipelineDeleteCmd added in v0.0.6

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 added in v0.0.8

func BuildPipelineShowCmd() *cobra.Command

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

func BuildPipelineStatusCmd added in v0.1.0

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 added in v0.1.0

func BuildStorageCmd() *cobra.Command

BuildStorageCmd is the top level command for storage

func BuildStorageInitCmd added in v0.1.0

func BuildStorageInitCmd() *cobra.Command

BuildStorageInitCmd builds the command and adds it to the CLI.

func BuildSvcCmd added in v0.1.0

func BuildSvcCmd() *cobra.Command

BuildSvcCmd is the top level command for service.

func BuildSvcDeleteCmd added in v0.1.0

func BuildSvcDeleteCmd() *cobra.Command

BuildSvcDeleteCmd builds the command to delete application(s).

func BuildSvcDeployCmd added in v0.1.0

func BuildSvcDeployCmd() *cobra.Command

BuildSvcDeployCmd builds the `svc deploy` subcommand.

func BuildSvcInitCmd added in v0.1.0

func BuildSvcInitCmd() *cobra.Command

BuildSvcInitCmd build the command for creating a new service.

func BuildSvcListCmd added in v0.1.0

func BuildSvcListCmd() *cobra.Command

BuildSvcListCmd builds the command for listing services in an appication.

func BuildSvcLogsCmd added in v0.1.0

func BuildSvcLogsCmd() *cobra.Command

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

func BuildSvcPackageCmd added in v0.1.0

func BuildSvcPackageCmd() *cobra.Command

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

func BuildSvcShowCmd added in v0.1.0

func BuildSvcShowCmd() *cobra.Command

BuildSvcShowCmd builds the command for showing services in an application.

func BuildSvcStatusCmd added in v0.1.0

func BuildSvcStatusCmd() *cobra.Command

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

func BuildTaskCmd added in v0.1.0

func BuildTaskCmd() *cobra.Command

BuildTaskCmd is the top level command for task.

func BuildTaskRunCmd added in v0.1.0

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 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.

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.

Jump to

Keyboard shortcuts

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