Closed amcinnes closed 7 years ago
That's ... awkward.
Thanks for the report.
Ah; it's a "global" option, so the --region
has to go before the subcommand:
shush --region ap-southeast-2 encrypt alias/app-secrets supersecret
D:/test/lean deploy --region US
Incorrect Usage: flag provided but not defined: -region
NAME:
lean deploy - Deploy the project to LeanEngine
USAGE:
lean deploy [command options] [arguments...]
OPTIONS:
-g Deploy from git repo
--war Deploy .war file for Java project. The first .war file in target/ is used by default
--no-cache Force download dependencies
--overwrite-functions Overwrite cloud functions with the same name in other groups
--leanignore value Rule file for ignored files in deployment (default: ".leanignore")
--message value, -m value Comment for this deployment, only applicable when deploying from local files
--keep-deploy-file
--revision value, -r value Git revision or branch. Only applicable when deploying from Git (default: "master")
--options --options build-root=app&atomic=true Send additional deploy options to server, in urlencode format(like --options build-root=app&atomic=true)
--prod --prod 1 Deploy to production(--prod 1) or staging(`--prod 0`) environment, default to staging if it exists
Um, wrong window, @QGB?