37 lines
797 B
Go
37 lines
797 B
Go
package app
|
|
|
|
import (
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
// AppCommand defines the `abra app` command and ets subcommands
|
|
var AppCommand = &cli.Command{
|
|
Name: "app",
|
|
Usage: "Manage apps",
|
|
ArgsUsage: "<app>",
|
|
Description: `
|
|
This command provides all the functionality you need to manage the life cycle
|
|
of your apps. From initial deployment, day-2 operations (e.g. backup/restore)
|
|
to scaling apps up and spinning them down.
|
|
`,
|
|
Subcommands: []*cli.Command{
|
|
appNewCommand,
|
|
appConfigCommand,
|
|
appDeployCommand,
|
|
appUndeployCommand,
|
|
appBackupCommand,
|
|
appRestoreCommand,
|
|
appRemoveCommand,
|
|
appCheckCommand,
|
|
appListCommand,
|
|
appPsCommand,
|
|
appLogsCommand,
|
|
appCpCommand,
|
|
appRunCommand,
|
|
appRollbackCommand,
|
|
appSecretCommand,
|
|
appVolumeCommand,
|
|
appVersionCommand,
|
|
},
|
|
}
|