diff --git a/docs/content/en/docs-dev/user-guide/command-line-tool.md b/docs/content/en/docs-dev/user-guide/command-line-tool.md index e0c0de5746..447681cdbd 100644 --- a/docs/content/en/docs-dev/user-guide/command-line-tool.md +++ b/docs/content/en/docs-dev/user-guide/command-line-tool.md @@ -193,7 +193,7 @@ Usage: Flags: --app-dir string The relative path from the root of repository to the application directory. - --app-kind string The kind of application. (KUBERNETES|TERRAFORM|LAMBDA|CLOUDRUN) + --app-kind string The kind of application. (KUBERNETES|TERRAFORM|LAMBDA|CLOUDRUN|ECS) --app-name string The application name. --platform-provider string The platform provider name. One of the registered providers in the piped configuration. The previous name of this field is cloud-provider. --config-file-name string The configuration file name. (default "app.pipecd.yaml") diff --git a/pkg/app/pipectl/cmd/application/add.go b/pkg/app/pipectl/cmd/application/add.go index 26e25badd1..6db5c2c4b0 100644 --- a/pkg/app/pipectl/cmd/application/add.go +++ b/pkg/app/pipectl/cmd/application/add.go @@ -51,7 +51,7 @@ func newAddCommand(root *command) *cobra.Command { } cmd.Flags().StringVar(&c.appName, "app-name", c.appName, "The application name.") - cmd.Flags().StringVar(&c.appKind, "app-kind", c.appKind, "The kind of application. (KUBERNETES|TERRAFORM|LAMBDA|CLOUDRUN)") + cmd.Flags().StringVar(&c.appKind, "app-kind", c.appKind, "The kind of application. (KUBERNETES|TERRAFORM|LAMBDA|CLOUDRUN|ECS)") cmd.Flags().StringVar(&c.pipedID, "piped-id", c.pipedID, "The ID of piped that should handle this application.") cmd.Flags().StringVar(&c.platformProvider, "platform-provider", c.platformProvider, "The platform provider name. One of the registered providers in the piped configuration. Previous name of this field is cloud-provider.")