@govuk-pay/cli 0.0.24 → 0.0.26

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govuk-pay/cli",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "description": "GOV.UK Pay Command Line Interface",
5
5
  "bin": {
6
6
  "pay": "bin/cli.js",
@@ -129,7 +129,7 @@ module PayCLI::Secrets
129
129
  end
130
130
 
131
131
  def self.fetch_pay_pass!(env, service, key, provider, pass_path)
132
- if ENV.has_key?('WORKSPACE')
132
+ if ! ENV.has_key?('WORKSPACE')
133
133
  STDERR.puts 'Error: You must set your WORKSPACE env var to the directory where you checkout alphagov github projects'
134
134
  exit 1
135
135
  end
@@ -1,5 +1,4 @@
1
1
  Commands:
2
- pay aws # Interactions with AWS, e.g. fetching STS tokens
3
2
  pay browse # Opens web browser link to useful links
4
3
  pay deployment_status <env> # Describe what's deployed
5
4
  pay doctor # Attempts to initialise or fix the Pay CLI
@@ -9,4 +8,3 @@ Commands:
9
8
  pay secrets # Manage secrets in and between environments
10
9
  pay ssm # Start an SSM session to boxes in environments
11
10
  pay tunnel # Open tunnel to application database
12
- pay tf # Runs Terraform
@@ -21,9 +21,6 @@ handlers.set('tunnel', {
21
21
  handlers.set('legacy', {
22
22
  handler: legacy_1.default
23
23
  });
24
- handlers.set('aws', {
25
- handler: legacy_1.default
26
- });
27
24
  handlers.set('deployment_status', {
28
25
  handler: legacy_1.default
29
26
  });
@@ -45,9 +42,6 @@ handlers.set('secrets', {
45
42
  handlers.set('ssm', {
46
43
  handler: legacy_1.default
47
44
  });
48
- handlers.set('tf', {
49
- handler: legacy_1.default
50
- });
51
45
  handlers.set('demo', {
52
46
  handler: demo_js_1.default
53
47
  });