revert app cmd style

This commit is contained in:
Andrew Nester 2024-11-21 17:36:09 +01:00
parent 2f853e21ae
commit f135ecc799
No known key found for this signature in database
GPG Key ID: 12BC628A44B7DA57
1 changed files with 14 additions and 14 deletions

View File

@ -88,7 +88,7 @@ func newCreate() *cobra.Command {
cmd.Use = "create NAME" cmd.Use = "create NAME"
cmd.Short = `Create an app.` cmd.Short = `Create an app.`
cmd.Long = `Create an app. cmd.Long = `Create an app.
Creates a new app. Creates a new app.
Arguments: Arguments:
@ -187,7 +187,7 @@ func newDelete() *cobra.Command {
cmd.Use = "delete NAME" cmd.Use = "delete NAME"
cmd.Short = `Delete an app.` cmd.Short = `Delete an app.`
cmd.Long = `Delete an app. cmd.Long = `Delete an app.
Deletes an app. Deletes an app.
Arguments: Arguments:
@ -259,7 +259,7 @@ func newDeploy() *cobra.Command {
cmd.Use = "deploy APP_NAME" cmd.Use = "deploy APP_NAME"
cmd.Short = `Create an app deployment.` cmd.Short = `Create an app deployment.`
cmd.Long = `Create an app deployment. cmd.Long = `Create an app deployment.
Creates an app deployment for the app with the supplied name. Creates an app deployment for the app with the supplied name.
Arguments: Arguments:
@ -348,7 +348,7 @@ func newGet() *cobra.Command {
cmd.Use = "get NAME" cmd.Use = "get NAME"
cmd.Short = `Get an app.` cmd.Short = `Get an app.`
cmd.Long = `Get an app. cmd.Long = `Get an app.
Retrieves information for the app with the supplied name. Retrieves information for the app with the supplied name.
Arguments: Arguments:
@ -406,7 +406,7 @@ func newGetDeployment() *cobra.Command {
cmd.Use = "get-deployment APP_NAME DEPLOYMENT_ID" cmd.Use = "get-deployment APP_NAME DEPLOYMENT_ID"
cmd.Short = `Get an app deployment.` cmd.Short = `Get an app deployment.`
cmd.Long = `Get an app deployment. cmd.Long = `Get an app deployment.
Retrieves information for the app deployment with the supplied name and Retrieves information for the app deployment with the supplied name and
deployment id. deployment id.
@ -467,7 +467,7 @@ func newGetPermissionLevels() *cobra.Command {
cmd.Use = "get-permission-levels APP_NAME" cmd.Use = "get-permission-levels APP_NAME"
cmd.Short = `Get app permission levels.` cmd.Short = `Get app permission levels.`
cmd.Long = `Get app permission levels. cmd.Long = `Get app permission levels.
Gets the permission levels that a user can have on an object. Gets the permission levels that a user can have on an object.
Arguments: Arguments:
@ -525,7 +525,7 @@ func newGetPermissions() *cobra.Command {
cmd.Use = "get-permissions APP_NAME" cmd.Use = "get-permissions APP_NAME"
cmd.Short = `Get app permissions.` cmd.Short = `Get app permissions.`
cmd.Long = `Get app permissions. cmd.Long = `Get app permissions.
Gets the permissions of an app. Apps can inherit permissions from their root Gets the permissions of an app. Apps can inherit permissions from their root
object. object.
@ -587,7 +587,7 @@ func newList() *cobra.Command {
cmd.Use = "list" cmd.Use = "list"
cmd.Short = `List apps.` cmd.Short = `List apps.`
cmd.Long = `List apps. cmd.Long = `List apps.
Lists all apps in the workspace.` Lists all apps in the workspace.`
cmd.Annotations = make(map[string]string) cmd.Annotations = make(map[string]string)
@ -640,7 +640,7 @@ func newListDeployments() *cobra.Command {
cmd.Use = "list-deployments APP_NAME" cmd.Use = "list-deployments APP_NAME"
cmd.Short = `List app deployments.` cmd.Short = `List app deployments.`
cmd.Long = `List app deployments. cmd.Long = `List app deployments.
Lists all app deployments for the app with the supplied name. Lists all app deployments for the app with the supplied name.
Arguments: Arguments:
@ -699,7 +699,7 @@ func newSetPermissions() *cobra.Command {
cmd.Use = "set-permissions APP_NAME" cmd.Use = "set-permissions APP_NAME"
cmd.Short = `Set app permissions.` cmd.Short = `Set app permissions.`
cmd.Long = `Set app permissions. cmd.Long = `Set app permissions.
Sets permissions on an object, replacing existing permissions if they exist. Sets permissions on an object, replacing existing permissions if they exist.
Deletes all direct permissions if none are specified. Objects can inherit Deletes all direct permissions if none are specified. Objects can inherit
permissions from their root object. permissions from their root object.
@ -776,7 +776,7 @@ func newStart() *cobra.Command {
cmd.Use = "start NAME" cmd.Use = "start NAME"
cmd.Short = `Start an app.` cmd.Short = `Start an app.`
cmd.Long = `Start an app. cmd.Long = `Start an app.
Start the last active deployment of the app in the workspace. Start the last active deployment of the app in the workspace.
Arguments: Arguments:
@ -858,7 +858,7 @@ func newStop() *cobra.Command {
cmd.Use = "stop NAME" cmd.Use = "stop NAME"
cmd.Short = `Stop an app.` cmd.Short = `Stop an app.`
cmd.Long = `Stop an app. cmd.Long = `Stop an app.
Stops the active deployment of the app in the workspace. Stops the active deployment of the app in the workspace.
Arguments: Arguments:
@ -945,7 +945,7 @@ func newUpdate() *cobra.Command {
cmd.Use = "update NAME NAME" cmd.Use = "update NAME NAME"
cmd.Short = `Update an app.` cmd.Short = `Update an app.`
cmd.Long = `Update an app. cmd.Long = `Update an app.
Updates the app with the supplied name. Updates the app with the supplied name.
Arguments: Arguments:
@ -1031,7 +1031,7 @@ func newUpdatePermissions() *cobra.Command {
cmd.Use = "update-permissions APP_NAME" cmd.Use = "update-permissions APP_NAME"
cmd.Short = `Update app permissions.` cmd.Short = `Update app permissions.`
cmd.Long = `Update app permissions. cmd.Long = `Update app permissions.
Updates the permissions on an app. Apps can inherit permissions from their Updates the permissions on an app. Apps can inherit permissions from their
root object. root object.