github.com/elopio/cli@v6.21.2-0.20160902224010-ea909d1fdb2f+incompatible/commands/v2/cfv2.go (about)

     1  package v2
     2  
     3  var Commands commandList
     4  
     5  type commandList struct {
     6  	VerboseOrVersion                   bool                                      `short:"v" long:"version" description:"verbose and version flag"`
     7  	App                                AppCommand                                `command:"app" description:"Display health and status for app"`
     8  	Help                               HelpCommand                               `command:"help" alias:"h" description:"Show help"`
     9  	Version                            VersionCommand                            `command:"version" description:"Print the version"`
    10  	Login                              LoginCommand                              `command:"login" alias:"l" description:"Log user in"`
    11  	Logout                             LogoutCommand                             `command:"logout" alias:"lo" description:"Log user out"`
    12  	Passwd                             PasswdCommand                             `command:"passwd" alias:"pw" description:"Change user password"`
    13  	Target                             TargetCommand                             `command:"target" alias:"t" description:"Set or view the targeted org or space"`
    14  	Api                                ApiCommand                                `command:"api" description:"Set or view target api url"`
    15  	Auth                               AuthCommand                               `command:"auth" description:"Authenticate user non-interactively"`
    16  	Apps                               AppsCommand                               `command:"apps" alias:"a" description:"List all apps in the target space"`
    17  	Push                               PushCommand                               `command:"push" alias:"p" description:"Push a new app or sync changes to an existing app"`
    18  	Scale                              ScaleCommand                              `command:"scale" description:"Change or view the instance count, disk space limit, and memory limit for an app"`
    19  	Delete                             DeleteCommand                             `command:"delete" alias:"d" description:"Delete an app"`
    20  	Rename                             RenameCommand                             `command:"rename" description:"Rename an app"`
    21  	Start                              StartCommand                              `command:"start" alias:"st" description:"Start an app"`
    22  	Stop                               StopCommand                               `command:"stop" alias:"sp" description:"Stop an app"`
    23  	Restart                            RestartCommand                            `command:"restart" alias:"rs" description:"Restart an app"`
    24  	Restage                            RestageCommand                            `command:"restage" alias:"rg" description:"Restage an app"`
    25  	RestartAppInstance                 RestartAppInstanceCommand                 `command:"restart-app-instance" description:"Terminate the running application Instance at the given index and instantiate a new instance of the application with the same index"`
    26  	Events                             EventsCommand                             `command:"events" description:"Show recent app events"`
    27  	Files                              FilesCommand                              `command:"files" alias:"f" description:"Print out a list of files in a directory or the contents of a specific file of an app running on the DEA backend"`
    28  	Logs                               LogsCommand                               `command:"logs" description:"Tail or show recent logs for an app"`
    29  	Env                                EnvCommand                                `command:"env" alias:"e" description:"Show all env variables for an app"`
    30  	SetEnv                             SetEnvCommand                             `command:"set-env" alias:"se" description:"Set an env variable for an app"`
    31  	UnsetEnv                           UnsetEnvCommand                           `command:"unset-env" description:"Remove an env variable"`
    32  	Stacks                             StacksCommand                             `command:"stacks" description:"List all stacks (a stack is a pre-built file system, including an operating system, that can run apps)"`
    33  	Stack                              StackCommand                              `command:"stack" description:"Show information for a stack (a stack is a pre-built file system, including an operating system, that can run apps)"`
    34  	CopySource                         CopySourceCommand                         `command:"copy-source" description:"Copies the source code of an application to another existing application (and restarts that application)"`
    35  	CreateAppManifest                  CreateAppManifestCommand                  `command:"create-app-manifest" description:"Create an app manifest for an app that has been pushed successfully"`
    36  	GetHealthCheck                     GetHealthCheckCommand                     `command:"get-health-check" description:"Get the health_check_type value of an app"`
    37  	SetHealthCheck                     SetHealthCheckCommand                     `command:"set-health-check" description:"Set health_check_type flag to either 'port' or 'none'"`
    38  	EnableSSH                          EnableSSHCommand                          `command:"enable-ssh" description:"Enable ssh for the application"`
    39  	DisableSSH                         DisableSSHCommand                         `command:"disable-ssh" description:"Disable ssh for the application"`
    40  	SSHEnabled                         SSHEnabledCommand                         `command:"ssh-enabled" description:"Reports whether SSH is enabled on an application container instance"`
    41  	SSH                                SSHCommand                                `command:"ssh" description:"SSH to an application container instance"`
    42  	Marketplace                        MarketplaceCommand                        `command:"marketplace" alias:"m" description:"List available offerings in the marketplace"`
    43  	Services                           ServicesCommand                           `command:"services" alias:"s" description:"List all service instances in the target space"`
    44  	Service                            ServiceCommand                            `command:"service" description:"Show service instance info"`
    45  	CreateService                      CreateServiceCommand                      `command:"create-service" alias:"cs" description:"Create a service instance"`
    46  	UpdateService                      UpdateServiceCommand                      `command:"update-service" description:"Update a service instance"`
    47  	DeleteService                      DeleteServiceCommand                      `command:"delete-service" alias:"ds" description:"Delete a service instance"`
    48  	RenameService                      RenameServiceCommand                      `command:"rename-service" description:"Rename a service instance"`
    49  	CreateServiceKey                   CreateServiceKeyCommand                   `command:"create-service-key" alias:"csk" description:"Create key for a service instance"`
    50  	ServiceKeys                        ServiceKeysCommand                        `command:"service-keys" alias:"sk" description:"List keys for a service instance"`
    51  	ServiceKey                         ServiceKeyCommand                         `command:"service-key" description:"Show service key info"`
    52  	DeleteServiceKey                   DeleteServiceKeyCommand                   `command:"delete-service-key" alias:"dsk" description:"Delete a service key"`
    53  	BindService                        BindServiceCommand                        `command:"bind-service" alias:"bs" description:"Bind a service instance to an app"`
    54  	UnbindService                      UnbindServiceCommand                      `command:"unbind-service" alias:"us" description:"Unbind a service instance from an app"`
    55  	BindRouteService                   BindRouteServiceCommand                   `command:"bind-route-service" alias:"brs" description:"Bind a service instance to an HTTP route"`
    56  	UnbindRouteService                 UnbindRouteServiceCommand                 `command:"unbind-route-service" alias:"urs" description:"Unbind a service instance from an HTTP route"`
    57  	CreateUserProvidedService          CreateUserProvidedServiceCommand          `command:"create-user-provided-service" alias:"cups" description:"Make a user-provided service instance available to CF apps"`
    58  	UpdateUserProvidedService          UpdateUserProvidedServiceCommand          `command:"update-user-provided-service" alias:"uups" description:"Update user-provided service instance"`
    59  	Orgs                               OrgsCommand                               `command:"orgs" alias:"o" description:"List all orgs"`
    60  	Org                                OrgCommand                                `command:"org" description:"Show org info"`
    61  	CreateOrg                          CreateOrgCommand                          `command:"create-org" alias:"co" description:"Create an org"`
    62  	DeleteOrg                          DeleteOrgCommand                          `command:"delete-org" description:"Delete an org"`
    63  	RenameOrg                          RenameOrgCommand                          `command:"rename-org" description:"Rename an org"`
    64  	Spaces                             SpacesCommand                             `command:"spaces" description:"List all spaces in an org"`
    65  	Space                              SpaceCommand                              `command:"space" description:"Show space info"`
    66  	CreateSpace                        CreateSpaceCommand                        `command:"create-space" description:"Create a space"`
    67  	DeleteSpace                        DeleteSpaceCommand                        `command:"delete-space" description:"Delete a space"`
    68  	RenameSpace                        RenameSpaceCommand                        `command:"rename-space" description:"Rename a space"`
    69  	AllowSpaceSSH                      AllowSpaceSSHCommand                      `command:"allow-space-ssh" description:"Allow SSH access for the space"`
    70  	DisallowSpaceSSH                   DisallowSpaceSSHCommand                   `command:"disallow-space-ssh" description:"Disallow SSH access for the space"`
    71  	SpaceSSHAllowed                    SpaceSSHAllowedCommand                    `command:"space-ssh-allowed" description:"Reports whether SSH is allowed in a space"`
    72  	Domains                            DomainsCommand                            `command:"domains" description:"List domains in the target org"`
    73  	CreateDomain                       CreateDomainCommand                       `command:"create-domain" description:"Create a domain in an org for later use"`
    74  	DeleteDomain                       DeleteDomainCommand                       `command:"delete-domain" description:"Delete a domain"`
    75  	CreateSharedDomain                 CreateSharedDomainCommand                 `command:"create-shared-domain" description:"Create a domain that can be used by all orgs (admin-only)"`
    76  	DeleteSharedDomain                 DeleteSharedDomainCommand                 `command:"delete-shared-domain" description:"Delete a shared domain"`
    77  	RouterGroups                       RouterGroupsCommand                       `command:"router-groups" description:"List router groups"`
    78  	Routes                             RoutesCommand                             `command:"routes" alias:"r" description:"List all routes in the current space or the current organization"`
    79  	CreateRoute                        CreateRouteCommand                        `command:"create-route" description:"Create a url route in a space for later use"`
    80  	CheckRoute                         CheckRouteCommand                         `command:"check-route" description:"Perform a simple check to determine whether a route currently exists or not"`
    81  	MapRoute                           MapRouteCommand                           `command:"map-route" description:"Add a url route to an app"`
    82  	UnmapRoute                         UnmapRouteCommand                         `command:"unmap-route" description:"Remove a url route from an app"`
    83  	DeleteRoute                        DeleteRouteCommand                        `command:"delete-route" description:"Delete a route"`
    84  	DeleteOrphanedRoutes               DeleteOrphanedRoutesCommand               `command:"delete-orphaned-routes" description:"Delete all orphaned routes (i.e. those that are not mapped to an app)"`
    85  	Buildpacks                         BuildpacksCommand                         `command:"buildpacks" description:"List all buildpacks"`
    86  	CreateBuildpack                    CreateBuildpackCommand                    `command:"create-buildpack" description:"Create a buildpack"`
    87  	UpdateBuildpack                    UpdateBuildpackCommand                    `command:"update-buildpack" description:"Update a buildpack"`
    88  	RenameBuildpack                    RenameBuildpackCommand                    `command:"rename-buildpack" description:"Rename a buildpack"`
    89  	DeleteBuildpack                    DeleteBuildpackCommand                    `command:"delete-buildpack" description:"Delete a buildpack"`
    90  	CreateUser                         CreateUserCommand                         `command:"create-user" description:"Create a new user"`
    91  	DeleteUser                         DeleteUserCommand                         `command:"delete-user" description:"Delete a user"`
    92  	OrgUsers                           OrgUsersCommand                           `command:"org-users" description:"Show org users by role"`
    93  	SetOrgRole                         SetOrgRoleCommand                         `command:"set-org-role" description:"Assign an org role to a user"`
    94  	UnsetOrgRole                       UnsetOrgRoleCommand                       `command:"unset-org-role" description:"Remove an org role from a user"`
    95  	SpaceUsers                         SpaceUsersCommand                         `command:"space-users" description:"Show space users by role"`
    96  	SetSpaceRole                       SetSpaceRoleCommand                       `command:"set-space-role" description:"Assign a space role to a user"`
    97  	UnsetSpaceRole                     UnsetSpaceRoleCommand                     `command:"unset-space-role" description:"Remove a space role from a user"`
    98  	Quotas                             QuotasCommand                             `command:"quotas" description:"List available usage quotas"`
    99  	Quota                              QuotaCommand                              `command:"quota" description:"Show quota info"`
   100  	SetQuota                           SetQuotaCommand                           `command:"set-quota" description:"Assign a quota to an org"`
   101  	CreateQuota                        CreateQuotaCommand                        `command:"create-quota" description:"Define a new resource quota"`
   102  	DeleteQuota                        DeleteQuotaCommand                        `command:"delete-quota" description:"Delete a quota"`
   103  	UpdateQuota                        UpdateQuotaCommand                        `command:"update-quota" description:"Update an existing resource quota"`
   104  	SharePrivateDomain                 SharePrivateDomainCommand                 `command:"share-private-domain" description:"Share a private domain with an org"`
   105  	UnsharePrivateDomain               UnsharePrivateDomainCommand               `command:"unshare-private-domain" description:"Unshare a private domain with an org"`
   106  	SpaceQuotas                        SpaceQuotasCommand                        `command:"space-quotas" description:"List available space resource quotas"`
   107  	SpaceQuota                         SpaceQuotaCommand                         `command:"space-quota" description:"Show space quota info"`
   108  	CreateSpaceQuota                   CreateSpaceQuotaCommand                   `command:"create-space-quota" description:"Define a new space resource quota"`
   109  	UpdateSpaceQuota                   UpdateSpaceQuotaCommand                   `command:"update-space-quota" description:"Update an existing space quota"`
   110  	DeleteSpaceQuota                   DeleteSpaceQuotaCommand                   `command:"delete-space-quota" description:"Delete a space quota definition and unassign the space quota from all spaces"`
   111  	SetSpaceQuota                      SetSpaceQuotaCommand                      `command:"set-space-quota" description:"Assign a space quota definition to a space"`
   112  	UnsetSpaceQuota                    UnsetSpaceQuotaCommand                    `command:"unset-space-quota" description:"Unassign a quota from a space"`
   113  	ServiceAuthTokens                  ServiceAuthTokensCommand                  `command:"service-auth-tokens" description:"List service auth tokens"`
   114  	CreateServiceAuthToken             CreateServiceAuthTokenCommand             `command:"create-service-auth-token" description:"Create a service auth token"`
   115  	UpdateServiceAuthToken             UpdateServiceAuthTokenCommand             `command:"update-service-auth-token" description:"Update a service auth token"`
   116  	DeleteServiceAuthToken             DeleteServiceAuthTokenCommand             `command:"delete-service-auth-token" description:"Delete a service auth token"`
   117  	ServiceBrokers                     ServiceBrokersCommand                     `command:"service-brokers" description:"List service brokers"`
   118  	CreateServiceBroker                CreateServiceBrokerCommand                `command:"create-service-broker" alias:"csb" description:"Create a service broker"`
   119  	UpdateServiceBroker                UpdateServiceBrokerCommand                `command:"update-service-broker" description:"Update a service broker"`
   120  	DeleteServiceBroker                DeleteServiceBrokerCommand                `command:"delete-service-broker" description:"Delete a service broker"`
   121  	RenameServiceBroker                RenameServiceBrokerCommand                `command:"rename-service-broker" description:"Rename a service broker"`
   122  	MigrateServiceInstances            MigrateServiceInstancesCommand            `command:"migrate-service-instances" description:"Migrate service instances from one service plan to another"`
   123  	PurgeServiceOffering               PurgeServiceOfferingCommand               `command:"purge-service-offering" description:"Recursively remove a service and child objects from Cloud Foundry database without making requests to a service broker"`
   124  	PurgeServiceInstance               PurgeServiceInstanceCommand               `command:"purge-service-instance" description:"Recursively remove a service instance and child objects from Cloud Foundry database without making requests to a service broker"`
   125  	ServiceAccess                      ServiceAccessCommand                      `command:"service-access" description:"List service access settings"`
   126  	EnableServiceAccess                EnableServiceAccessCommand                `command:"enable-service-access" description:"Enable access to a service or service plan for one or all orgs"`
   127  	DisableServiceAccess               DisableServiceAccessCommand               `command:"disable-service-access" description:"Disable access to a service or service plan for one or all orgs"`
   128  	SecurityGroup                      SecurityGroupCommand                      `command:"security-group" description:"Show a single security group"`
   129  	SecurityGroups                     SecurityGroupsCommand                     `command:"security-groups" description:"List all security groups"`
   130  	CreateSecurityGroup                CreateSecurityGroupCommand                `command:"create-security-group" description:"Create a security group"`
   131  	UpdateSecurityGroup                UpdateSecurityGroupCommand                `command:"update-security-group" description:"Update a security group"`
   132  	DeleteSecurityGroup                DeleteSecurityGroupCommand                `command:"delete-security-group" description:"Deletes a security group"`
   133  	BindSecurityGroup                  BindSecurityGroupCommand                  `command:"bind-security-group" description:"Bind a security group to a particular space, or all existing spaces of an org"`
   134  	UnbindSecurityGroup                UnbindSecurityGroupCommand                `command:"unbind-security-group" description:"Unbind a security group from a space"`
   135  	BindStagingSecurityGroup           BindStagingSecurityGroupCommand           `command:"bind-staging-security-group" description:"Bind a security group to the list of security groups to be used for staging applications"`
   136  	StagingSecurityGroups              StagingSecurityGroupsCommand              `command:"staging-security-groups" description:"List security groups in the staging set for applications"`
   137  	UnbindStagingSecurityGroup         UnbindStagingSecurityGroupCommand         `command:"unbind-staging-security-group" description:"Unbind a security group from the set of security groups for staging applications"`
   138  	BindRunningSecurityGroup           BindRunningSecurityGroupCommand           `command:"bind-running-security-group" description:"Bind a security group to the list of security groups to be used for running applications"`
   139  	RunningSecurityGroups              RunningSecurityGroupsCommand              `command:"running-security-groups" description:"List security groups in the set of security groups for running applications"`
   140  	UnbindRunningSecurityGroup         UnbindRunningSecurityGroupCommand         `command:"unbind-running-security-group" description:"Unbind a security group from the set of security groups for running applications"`
   141  	RunningEnvironmentVariableGroup    RunningEnvironmentVariableGroupCommand    `command:"running-environment-variable-group" alias:"revg" description:"Retrieve the contents of the running environment variable group"`
   142  	StagingEnvironmentVariableGroup    StagingEnvironmentVariableGroupCommand    `command:"staging-environment-variable-group" alias:"sevg" description:"Retrieve the contents of the staging environment variable group"`
   143  	SetStagingEnvironmentVariableGroup SetStagingEnvironmentVariableGroupCommand `command:"set-staging-environment-variable-group" alias:"ssevg" description:"Pass parameters as JSON to create a staging environment variable group"`
   144  	SetRunningEnvironmentVariableGroup SetRunningEnvironmentVariableGroupCommand `command:"set-running-environment-variable-group" alias:"srevg" description:"Pass parameters as JSON to create a running environment variable group"`
   145  	FeatureFlags                       FeatureFlagsCommand                       `command:"feature-flags" description:"Retrieve list of feature flags with status of each flag-able feature"`
   146  	FeatureFlag                        FeatureFlagCommand                        `command:"feature-flag" description:"Retrieve an individual feature flag with status"`
   147  	EnableFeatureFlag                  EnableFeatureFlagCommand                  `command:"enable-feature-flag" description:"Enable the use of a feature so that users have access to and can use the feature"`
   148  	DisableFeatureFlag                 DisableFeatureFlagCommand                 `command:"disable-feature-flag" description:"Disable the use of a feature so that users have access to and can use the feature"`
   149  	Curl                               CurlCommand                               `command:"curl" description:"Executes a request to the targeted API endpoint"`
   150  	Config                             ConfigCommand                             `command:"config" description:"Write default values to the config"`
   151  	OauthToken                         OauthTokenCommand                         `command:"oauth-token" description:"Retrieve and display the OAuth token for the current session"`
   152  	SSHCode                            SSHCodeCommand                            `command:"ssh-code" description:"Get a one time password for ssh clients"`
   153  	AddPluginRepo                      AddPluginRepoCommand                      `command:"add-plugin-repo" description:"Add a new plugin repository"`
   154  	RemovePluginRepo                   RemovePluginRepoCommand                   `command:"remove-plugin-repo" description:"Remove a plugin repository"`
   155  	ListPluginRepos                    ListPluginReposCommand                    `command:"list-plugin-repos" description:"List all the added plugin repositories"`
   156  	RepoPlugins                        RepoPluginsCommand                        `command:"repo-plugins" description:"List all available plugins in specified repository or in all added repositories"`
   157  	Plugins                            PluginsCommand                            `command:"plugins" description:"List all available plugin commands"`
   158  	InstallPlugin                      InstallPluginCommand                      `command:"install-plugin" description:"Install CLI plugin"`
   159  	UninstallPlugin                    UninstallPluginCommand                    `command:"uninstall-plugin" description:"Uninstall the plugin defined in command argument"`
   160  }