2021-08-02 01:10:41 +00:00
|
|
|
package app
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/urfave/cli/v2"
|
|
|
|
)
|
|
|
|
|
2021-08-02 06:36:35 +00:00
|
|
|
// AppCommand defines the `abra app` command and ets subcommands
|
2021-08-02 01:10:41 +00:00
|
|
|
var AppCommand = &cli.Command{
|
|
|
|
Name: "app",
|
|
|
|
Usage: "Manage your apps",
|
|
|
|
Description: `
|
|
|
|
This command provides all the functionality you need to manage the lifecycle of
|
|
|
|
your apps. From initial deployment to 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,
|
|
|
|
},
|
|
|
|
}
|