@agilecustoms/envctl 1.13.0 → 1.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ export function configure(program, configService) {
9
9
  .action(wrap(async () => {
10
10
  const answers = await inquirer.prompt([
11
11
  {
12
- type: 'input',
12
+ type: 'password',
13
13
  name: 'apiKey',
14
14
  message: 'apiKey is required to deploy any env\n'
15
15
  + '(prefer GitHub username)\n'
@@ -6,10 +6,9 @@ export function status(program, configService, envService) {
6
6
  program
7
7
  .command('status')
8
8
  .description('Get env status')
9
- .option('--key <key>', _keys.KEY)
10
- .action(wrap(async (options) => {
9
+ .argument('[key]', _keys.KEY)
10
+ .action(wrap(async (key) => {
11
11
  configService.checkApiKey();
12
- const { key } = options;
13
12
  await envService.status(key);
14
13
  }));
15
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilecustoms/envctl",
3
- "version": "1.13.0",
3
+ "version": "1.13.2",
4
4
  "description": "node.js CLI client for manage environments",
5
5
  "keywords": [
6
6
  "terraform wrapper",
@@ -59,7 +59,7 @@
59
59
  "-": "",
60
60
  "run-ephemeral-create": " npm run it -- create-ephemeral --key test",
61
61
  "run-ephemeral-init": "cd ../tt-gitops && terraform init -upgrade -backend-config=key=test -reconfigure",
62
- "run-ephemeral-status": " CWD=../tt-gitops npm run it -- status --key test",
62
+ "run-ephemeral-status": " CWD=../tt-gitops npm run it -- status test",
63
63
  "run-ephemeral-deploy": " CWD=../tt-gitops npm run it -- deploy -var-file=versions.tfvars",
64
64
  "run-ephemeral-delete": " CWD=../tt-gitops npm run it -- delete --force",
65
65
  "run-ephemeral-destroy": "CWD=../tt-gitops npm run it -- destroy --force -var-file=versions.tfvars"