heroku 9.3.3-beta.0 → 9.4.0

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.
Files changed (138) hide show
  1. package/lib/commands/access/add.js +1 -1
  2. package/lib/commands/access/index.js +2 -1
  3. package/lib/commands/access/update.js +1 -1
  4. package/lib/commands/addons/attach.js +1 -1
  5. package/lib/commands/addons/create.js +1 -1
  6. package/lib/commands/addons/destroy.js +1 -1
  7. package/lib/commands/addons/detach.js +1 -1
  8. package/lib/commands/addons/docs.js +1 -1
  9. package/lib/commands/addons/info.js +1 -1
  10. package/lib/commands/addons/open.js +1 -1
  11. package/lib/commands/addons/plans.js +1 -1
  12. package/lib/commands/addons/rename.js +2 -2
  13. package/lib/commands/addons/upgrade.js +2 -2
  14. package/lib/commands/addons/wait.js +1 -1
  15. package/lib/commands/apps/open.js +1 -1
  16. package/lib/commands/apps/rename.js +1 -1
  17. package/lib/commands/apps/stacks/set.js +1 -1
  18. package/lib/commands/authorizations/info.js +1 -1
  19. package/lib/commands/authorizations/revoke.js +1 -1
  20. package/lib/commands/authorizations/rotate.js +1 -1
  21. package/lib/commands/authorizations/update.js +1 -1
  22. package/lib/commands/certs/add.js +2 -2
  23. package/lib/commands/certs/generate.js +1 -1
  24. package/lib/commands/certs/update.js +2 -2
  25. package/lib/commands/ci/config/get.js +1 -1
  26. package/lib/commands/ci/info.js +1 -1
  27. package/lib/commands/ci/rerun.js +1 -1
  28. package/lib/commands/clients/create.js +2 -2
  29. package/lib/commands/clients/destroy.js +1 -1
  30. package/lib/commands/clients/info.js +1 -1
  31. package/lib/commands/clients/rotate.js +1 -1
  32. package/lib/commands/clients/update.js +1 -1
  33. package/lib/commands/config/get.js +1 -1
  34. package/lib/commands/domains/add.js +1 -1
  35. package/lib/commands/domains/info.js +1 -1
  36. package/lib/commands/domains/remove.js +1 -1
  37. package/lib/commands/domains/update.js +1 -1
  38. package/lib/commands/domains/wait.js +1 -1
  39. package/lib/commands/drains/add.js +1 -1
  40. package/lib/commands/drains/remove.js +1 -1
  41. package/lib/commands/features/disable.js +1 -1
  42. package/lib/commands/features/enable.js +1 -1
  43. package/lib/commands/features/info.js +1 -1
  44. package/lib/commands/git/credentials.js +1 -1
  45. package/lib/commands/keys/add.js +1 -1
  46. package/lib/commands/keys/remove.js +1 -1
  47. package/lib/commands/labs/disable.js +1 -1
  48. package/lib/commands/labs/enable.js +1 -1
  49. package/lib/commands/labs/info.js +1 -1
  50. package/lib/commands/local/index.js +1 -1
  51. package/lib/commands/members/add.js +1 -1
  52. package/lib/commands/pg/backups/cancel.js +1 -1
  53. package/lib/commands/pg/backups/capture.js +2 -1
  54. package/lib/commands/pg/backups/delete.js +1 -1
  55. package/lib/commands/pg/backups/download.js +1 -1
  56. package/lib/commands/pg/backups/info.js +1 -1
  57. package/lib/commands/pg/backups/restore.d.ts +1 -0
  58. package/lib/commands/pg/backups/restore.js +29 -2
  59. package/lib/commands/pg/backups/schedule.js +2 -1
  60. package/lib/commands/pg/backups/unschedule.js +2 -1
  61. package/lib/commands/pg/backups/url.js +1 -1
  62. package/lib/commands/pg/bloat.js +2 -1
  63. package/lib/commands/pg/blocking.js +2 -1
  64. package/lib/commands/pg/connection-pooling/attach.js +2 -1
  65. package/lib/commands/pg/copy.js +2 -2
  66. package/lib/commands/pg/credentials/create.js +2 -1
  67. package/lib/commands/pg/credentials/destroy.js +2 -1
  68. package/lib/commands/pg/credentials/repair-default.js +2 -1
  69. package/lib/commands/pg/credentials/rotate.js +2 -1
  70. package/lib/commands/pg/credentials/url.js +2 -1
  71. package/lib/commands/pg/credentials.js +2 -1
  72. package/lib/commands/pg/diagnose.js +1 -1
  73. package/lib/commands/pg/info.js +2 -1
  74. package/lib/commands/pg/kill.js +3 -2
  75. package/lib/commands/pg/killall.js +2 -1
  76. package/lib/commands/pg/links/create.js +3 -2
  77. package/lib/commands/pg/links/destroy.js +3 -2
  78. package/lib/commands/pg/links/index.js +2 -1
  79. package/lib/commands/pg/locks.js +2 -1
  80. package/lib/commands/pg/maintenance/index.js +2 -1
  81. package/lib/commands/pg/maintenance/run.js +2 -1
  82. package/lib/commands/pg/maintenance/window.js +3 -2
  83. package/lib/commands/pg/outliers.js +2 -1
  84. package/lib/commands/pg/promote.js +2 -1
  85. package/lib/commands/pg/ps.js +2 -1
  86. package/lib/commands/pg/psql.js +2 -1
  87. package/lib/commands/pg/pull.js +3 -2
  88. package/lib/commands/pg/push.js +4 -3
  89. package/lib/commands/pg/reset.js +2 -1
  90. package/lib/commands/pg/settings/auto-explain/log-analyze.js +3 -2
  91. package/lib/commands/pg/settings/auto-explain/log-buffers.js +3 -2
  92. package/lib/commands/pg/settings/auto-explain/log-format.js +3 -2
  93. package/lib/commands/pg/settings/auto-explain/log-min-duration.js +3 -2
  94. package/lib/commands/pg/settings/auto-explain/log-nested-statements.js +3 -2
  95. package/lib/commands/pg/settings/auto-explain/log-triggers.js +3 -2
  96. package/lib/commands/pg/settings/auto-explain/log-verbose.js +3 -2
  97. package/lib/commands/pg/settings/auto-explain.js +3 -2
  98. package/lib/commands/pg/settings/explain-data-connector-details.js +3 -2
  99. package/lib/commands/pg/settings/index.js +2 -1
  100. package/lib/commands/pg/settings/log-connections.js +3 -2
  101. package/lib/commands/pg/settings/log-lock-waits.js +3 -2
  102. package/lib/commands/pg/settings/log-min-duration-statement.js +3 -2
  103. package/lib/commands/pg/settings/log-min-error-statement.js +2 -1
  104. package/lib/commands/pg/settings/log-statement.js +3 -2
  105. package/lib/commands/pg/settings/track-functions.js +3 -2
  106. package/lib/commands/pg/unfollow.js +2 -1
  107. package/lib/commands/pg/upgrade.js +2 -1
  108. package/lib/commands/pg/vacuum-stats.js +2 -1
  109. package/lib/commands/pg/wait.js +2 -1
  110. package/lib/commands/ps/restart.js +1 -1
  111. package/lib/commands/ps/stop.js +1 -1
  112. package/lib/commands/redis/cli.js +1 -1
  113. package/lib/commands/redis/credentials.js +1 -1
  114. package/lib/commands/redis/info.js +1 -1
  115. package/lib/commands/redis/keyspace-notifications.js +1 -1
  116. package/lib/commands/redis/maintenance.js +1 -1
  117. package/lib/commands/redis/maxmemory.js +1 -1
  118. package/lib/commands/redis/promote.js +1 -1
  119. package/lib/commands/redis/stats-reset.js +1 -1
  120. package/lib/commands/redis/timeout.js +1 -1
  121. package/lib/commands/redis/upgrade.js +1 -1
  122. package/lib/commands/redis/wait.js +1 -1
  123. package/lib/commands/releases/info.js +1 -1
  124. package/lib/commands/releases/output.js +1 -1
  125. package/lib/commands/releases/rollback.js +1 -1
  126. package/lib/commands/sessions/destroy.js +1 -1
  127. package/lib/commands/spaces/drains/set.js +1 -1
  128. package/lib/commands/spaces/trusted-ips/add.js +1 -1
  129. package/lib/commands/spaces/trusted-ips/remove.js +1 -1
  130. package/lib/commands/webhooks/deliveries/info.js +1 -1
  131. package/lib/commands/webhooks/events/info.js +1 -1
  132. package/lib/commands/webhooks/info.js +1 -1
  133. package/lib/commands/webhooks/update.js +1 -1
  134. package/lib/nls.d.ts +8 -0
  135. package/lib/nls.js +14 -0
  136. package/lib/package.nls.json +6 -0
  137. package/oclif.manifest.json +836 -670
  138. package/package.json +2 -2
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
4
  const tsheredoc_1 = require("tsheredoc");
5
5
  const setter_1 = require("../../../lib/pg/setter");
6
+ const nls_1 = require("../../../nls");
6
7
  class LogLockWaits extends setter_1.PGSettingsCommand {
7
8
  constructor() {
8
9
  super(...arguments);
@@ -26,6 +27,6 @@ LogLockWaits.description = (0, tsheredoc_1.default)(`
26
27
  Applications and their query patterns should try to avoid changes to many different tables within the same transaction.
27
28
  `);
28
29
  LogLockWaits.args = {
29
- database: core_1.Args.string(),
30
- value: core_1.Args.string(),
30
+ database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
31
+ value: core_1.Args.string({ description: 'boolean indicating if a message gets logged when a session waits longer than the deadlock_timeout to acquire a lock' }),
31
32
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
4
  const tsheredoc_1 = require("tsheredoc");
5
5
  const setter_1 = require("../../../lib/pg/setter");
6
+ const nls_1 = require("../../../nls");
6
7
  class LogMinDurationStatement extends setter_1.PGSettingsCommand {
7
8
  constructor() {
8
9
  super(...arguments);
@@ -28,6 +29,6 @@ LogMinDurationStatement.description = (0, tsheredoc_1.default)(`
28
29
  Setting log_min_duration_statement to zero prints all statement durations and -1 will disable logging statement durations.
29
30
  `);
30
31
  LogMinDurationStatement.args = {
31
- database: core_1.Args.string(),
32
- value: core_1.Args.string(),
32
+ database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
33
+ value: core_1.Args.string({ description: 'milliseconds to wait for a statement to complete before logging it' }),
33
34
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
4
  const tsheredoc_1 = require("tsheredoc");
5
5
  const setter_1 = require("../../../lib/pg/setter");
6
+ const nls_1 = require("../../../nls");
6
7
  class LogMinErrorStatement extends setter_1.PGSettingsCommand {
7
8
  constructor() {
8
9
  super(...arguments);
@@ -22,6 +23,6 @@ LogMinErrorStatement.description = (0, tsheredoc_1.default)(`
22
23
  Use this setting to prevent logging SQL queries that contain sensitive information. Default is "error".
23
24
  `);
24
25
  LogMinErrorStatement.args = {
25
- database: core_1.Args.string(),
26
+ database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
26
27
  value: core_1.Args.string({ options: ['error', 'log', 'fatal', 'panic'] }),
27
28
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
4
  const tsheredoc_1 = require("tsheredoc");
5
5
  const setter_1 = require("../../../lib/pg/setter");
6
+ const nls_1 = require("../../../nls");
6
7
  class LogStatement extends setter_1.PGSettingsCommand {
7
8
  constructor() {
8
9
  super(...arguments);
@@ -25,6 +26,6 @@ LogStatement.description = (0, tsheredoc_1.default)(`
25
26
  all - All statements are logged
26
27
  `);
27
28
  LogStatement.args = {
28
- database: core_1.Args.string(),
29
- value: core_1.Args.string({ options: ['none', 'ddl', 'mod', 'all'] }),
29
+ database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
30
+ value: core_1.Args.string({ options: ['none', 'ddl', 'mod', 'all'], description: 'type of SQL statements to log\n<options: none|ddl|mod|all>' }),
30
31
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
4
  const tsheredoc_1 = require("tsheredoc");
5
5
  const setter_1 = require("../../../lib/pg/setter");
6
+ const nls_1 = require("../../../nls");
6
7
  // ref: https://www.postgresql.org/docs/current/runtime-config-statistics.html#GUC-TRACK-FUNCTIONS
7
8
  class TrackFunctions extends setter_1.PGSettingsCommand {
8
9
  constructor() {
@@ -24,6 +25,6 @@ TrackFunctions.description = (0, tsheredoc_1.default)(`
24
25
  pl - Only procedural language functions are tracked
25
26
  all - All functions, including SQL and C language functions, are tracked. Simple SQL-language that are inlined are not tracked`);
26
27
  TrackFunctions.args = {
27
- database: core_1.Args.string(),
28
- value: core_1.Args.string({ options: ['none', 'pl', 'all'] }),
28
+ database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
29
+ value: core_1.Args.string({ options: ['none', 'pl', 'all'], description: 'function type to track\n<options: none|pl|all>' }),
29
30
  };
@@ -8,6 +8,7 @@ const host_1 = require("../../lib/pg/host");
8
8
  const util_1 = require("../../lib/pg/util");
9
9
  const confirmCommand_1 = require("../../lib/confirmCommand");
10
10
  const tsheredoc_1 = require("tsheredoc");
11
+ const nls_1 = require("../../nls");
11
12
  class Unfollow extends command_1.Command {
12
13
  async run() {
13
14
  const { flags, args } = await this.parse(Unfollow);
@@ -36,5 +37,5 @@ Unfollow.flags = {
36
37
  remote: command_1.flags.remote(),
37
38
  };
38
39
  Unfollow.args = {
39
- database: core_1.Args.string({ required: true }),
40
+ database: core_1.Args.string({ required: true, description: (0, nls_1.nls)('pg:database:arg:description') }),
40
41
  };
@@ -8,6 +8,7 @@ const fetcher_1 = require("../../lib/pg/fetcher");
8
8
  const host_1 = require("../../lib/pg/host");
9
9
  const util_1 = require("../../lib/pg/util");
10
10
  const confirmCommand_1 = require("../../lib/confirmCommand");
11
+ const nls_1 = require("../../nls");
11
12
  class Upgrade extends command_1.Command {
12
13
  async run() {
13
14
  const { flags, args } = await this.parse(Upgrade);
@@ -54,5 +55,5 @@ Upgrade.flags = {
54
55
  remote: command_1.flags.remote(),
55
56
  };
56
57
  Upgrade.args = {
57
- database: core_1.Args.string(),
58
+ database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
58
59
  };
@@ -5,6 +5,7 @@ const core_1 = require("@oclif/core");
5
5
  const fetcher_1 = require("../../lib/pg/fetcher");
6
6
  const psql_1 = require("../../lib/pg/psql");
7
7
  const tsheredoc_1 = require("tsheredoc");
8
+ const nls_1 = require("../../nls");
8
9
  class VacuumStats extends command_1.Command {
9
10
  async run() {
10
11
  const { flags, args } = await this.parse(VacuumStats);
@@ -61,5 +62,5 @@ VacuumStats.flags = {
61
62
  remote: command_1.flags.remote(),
62
63
  };
63
64
  VacuumStats.args = {
64
- database: core_1.Args.string(),
65
+ database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:default:suffix')}` }),
65
66
  };
@@ -7,6 +7,7 @@ const debug_1 = require("debug");
7
7
  const fetcher_1 = require("../../lib/pg/fetcher");
8
8
  const host_1 = require("../../lib/pg/host");
9
9
  const notify_1 = require("../../lib/notify");
10
+ const nls_1 = require("../../nls");
10
11
  const wait = (ms) => new Promise(resolve => {
11
12
  setTimeout(resolve, ms);
12
13
  });
@@ -75,5 +76,5 @@ Wait.flags = {
75
76
  remote: command_1.flags.remote(),
76
77
  };
77
78
  Wait.args = {
78
- database: core_1.Args.string(),
79
+ database: core_1.Args.string({ description: `${(0, nls_1.nls)('pg:database:arg:description')} ${(0, nls_1.nls)('pg:database:arg:description:all-dbs:suffix')}` }),
79
80
  };
@@ -30,7 +30,7 @@ Restart.examples = [
30
30
  ];
31
31
  Restart.help = 'if DYNO is not specified, restarts all dynos on app';
32
32
  Restart.args = {
33
- dyno: core_1.Args.string({ required: false }),
33
+ dyno: core_1.Args.string({ required: false, description: 'ID of the dyno' }),
34
34
  };
35
35
  Restart.flags = {
36
36
  app: command_1.flags.app({ required: true }),
@@ -25,7 +25,7 @@ Stop.examples = [
25
25
  ];
26
26
  Stop.help = 'stop app dyno or dyno type';
27
27
  Stop.args = {
28
- dyno: core_1.Args.string({ required: true }),
28
+ dyno: core_1.Args.string({ required: true, description: 'ID of the dyno' }),
29
29
  };
30
30
  Stop.flags = {
31
31
  app: command_1.flags.app({ required: true }),
@@ -187,7 +187,7 @@ Cli.flags = {
187
187
  remote: command_1.flags.remote(),
188
188
  };
189
189
  Cli.args = {
190
- database: core_1.Args.string(),
190
+ database: core_1.Args.string({ description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
191
191
  };
192
192
  Cli.examples = [
193
193
  '$ heroku redis:cli --app=my-app my-database',
@@ -28,5 +28,5 @@ Credentials.flags = {
28
28
  reset: command_1.flags.boolean({ description: 'reset credentials' }),
29
29
  };
30
30
  Credentials.args = {
31
- database: core_1.Args.string({ required: false }),
31
+ database: core_1.Args.string({ required: false, description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
32
32
  };
@@ -21,5 +21,5 @@ Info.flags = {
21
21
  json: command_1.flags.boolean({ char: 'j', description: 'output in json format' }),
22
22
  };
23
23
  Info.args = {
24
- database: core_1.Args.string(),
24
+ database: core_1.Args.string({ description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
25
25
  };
@@ -43,5 +43,5 @@ KeyspaceNotifications.flags = {
43
43
  config: command_1.flags.string({ char: 'c', description: 'set keyspace notifications configuration', hasValue: true, required: true }),
44
44
  };
45
45
  KeyspaceNotifications.args = {
46
- database: core_1.Args.string(),
46
+ database: core_1.Args.string({ description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
47
47
  };
@@ -59,5 +59,5 @@ Maintenance.flags = {
59
59
  }),
60
60
  };
61
61
  Maintenance.args = {
62
- database: core_1.Args.string({ required: false }),
62
+ database: core_1.Args.string({ required: false, description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
63
63
  };
@@ -36,5 +36,5 @@ MaxMemory.flags = {
36
36
  remote: command_1.flags.remote(),
37
37
  };
38
38
  MaxMemory.args = {
39
- database: core_1.Args.string(),
39
+ database: core_1.Args.string({ description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
40
40
  };
@@ -35,5 +35,5 @@ Promote.flags = {
35
35
  remote: command_1.flags.remote(),
36
36
  };
37
37
  Promote.args = {
38
- database: core_1.Args.string({ required: false }),
38
+ database: core_1.Args.string({ required: false, description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
39
39
  };
@@ -32,5 +32,5 @@ StatsReset.flags = {
32
32
  confirm: command_1.flags.string({ char: 'c' }),
33
33
  };
34
34
  StatsReset.args = {
35
- database: core_1.Args.string(),
35
+ database: core_1.Args.string({ description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
36
36
  };
@@ -31,5 +31,5 @@ Timeout.flags = {
31
31
  seconds: command_1.flags.integer({ char: 's', description: 'set timeout value', required: true }),
32
32
  };
33
33
  Timeout.args = {
34
- database: core_1.Args.string(),
34
+ database: core_1.Args.string({ description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
35
35
  };
@@ -33,5 +33,5 @@ Upgrade.flags = {
33
33
  confirm: command_1.flags.string({ char: 'c' }),
34
34
  };
35
35
  Upgrade.args = {
36
- database: core_1.Args.string(),
36
+ database: core_1.Args.string({ description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
37
37
  };
@@ -56,5 +56,5 @@ Wait.flags = {
56
56
  remote: command_1.flags.remote(),
57
57
  };
58
58
  Wait.args = {
59
- database: core_1.Args.string({ required: false }),
59
+ database: core_1.Args.string({ required: false, description: 'name of the Key-Value Store database. If omitted, it defaults to the primary database associated with the app.' }),
60
60
  };
@@ -52,5 +52,5 @@ Info.flags = {
52
52
  app: command_1.flags.app({ required: true }),
53
53
  };
54
54
  Info.args = {
55
- release: core_1.Args.string(),
55
+ release: core_1.Args.string({ description: 'ID of the release. If omitted, we use the last release ID.' }),
56
56
  };
@@ -33,5 +33,5 @@ Output.flags = {
33
33
  app: command_1.flags.app({ required: true }),
34
34
  };
35
35
  Output.args = {
36
- release: core_1.Args.string(),
36
+ release: core_1.Args.string({ description: 'ID of the release. If omitted, we use the last release ID.' }),
37
37
  };
@@ -44,5 +44,5 @@ Rollback.flags = {
44
44
  app: command_1.flags.app({ required: true }),
45
45
  };
46
46
  Rollback.args = {
47
- release: core_1.Args.string(),
47
+ release: core_1.Args.string({ description: 'ID of the release. If omitted, we use the last release ID.' }),
48
48
  };
@@ -14,5 +14,5 @@ class SessionsDestroy extends command_1.Command {
14
14
  exports.default = SessionsDestroy;
15
15
  SessionsDestroy.description = 'delete (logout) OAuth session by ID';
16
16
  SessionsDestroy.args = {
17
- id: core_1.Args.string({ required: true }),
17
+ id: core_1.Args.string({ required: true, description: 'ID of the OAuth session' }),
18
18
  };
@@ -25,5 +25,5 @@ Set.flags = {
25
25
  space: command_1.flags.string({ char: 's', description: 'space for which to set log drain', required: true }),
26
26
  };
27
27
  Set.args = {
28
- url: core_1.Args.string({ required: true }),
28
+ url: core_1.Args.string({ required: true, description: 'URL to replace the log drain with' }),
29
29
  };
@@ -39,5 +39,5 @@ Add.flags = {
39
39
  confirm: command_1.flags.string({ description: 'set to space name to bypass confirm prompt' }),
40
40
  };
41
41
  Add.args = {
42
- source: core_1.Args.string({ required: true }),
42
+ source: core_1.Args.string({ required: true, description: 'IP address in CIDR notation' }),
43
43
  };
@@ -40,5 +40,5 @@ Remove.flags = {
40
40
  confirm: command_1.flags.string({ description: 'set to space name to bypass confirm prompt' }),
41
41
  };
42
42
  Remove.args = {
43
- source: core_1.Args.string({ required: true }),
43
+ source: core_1.Args.string({ required: true, description: 'IP address in CIDR notation' }),
44
44
  };
@@ -38,5 +38,5 @@ DeliveriesInfo.flags = {
38
38
  pipeline: command_1.flags.pipeline({ char: 'p', description: 'pipeline on which to list', hidden: true }),
39
39
  };
40
40
  DeliveriesInfo.args = {
41
- id: core_1.Args.string({ required: true }),
41
+ id: core_1.Args.string({ required: true, description: 'ID of the webhook event' }),
42
42
  };
@@ -27,5 +27,5 @@ Info.flags = {
27
27
  pipeline: command_1.flags.pipeline({ char: 'p', description: 'pipeline on which to list', hidden: true }),
28
28
  };
29
29
  Info.args = {
30
- id: core_1.Args.string({ required: true }),
30
+ id: core_1.Args.string({ required: true, description: 'ID of the webhook event' }),
31
31
  };
@@ -27,5 +27,5 @@ WebhooksInfo.flags = {
27
27
  pipeline: command_1.flags.pipeline({ char: 'p', description: 'pipeline on which to list', hidden: true }),
28
28
  };
29
29
  WebhooksInfo.args = {
30
- id: core_1.Args.string({ required: true }),
30
+ id: core_1.Args.string({ required: true, description: 'ID of the webhook' }),
31
31
  };
@@ -37,5 +37,5 @@ WebhooksUpdate.flags = {
37
37
  url: command_1.flags.string({ char: 'u', description: 'URL for receiver', required: true }),
38
38
  };
39
39
  WebhooksUpdate.args = {
40
- id: core_1.Args.string({ required: true }),
40
+ id: core_1.Args.string({ required: true, description: 'ID of the webhook' }),
41
41
  };
package/lib/nls.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import * as nlsValues from './package.nls.json';
2
+ /**
3
+ * Non-localized strings util.
4
+ *
5
+ * @param key The key of the non-localized string to retrieve.
6
+ * @return string
7
+ */
8
+ export declare function nls<T extends keyof typeof nlsValues>(key: T): typeof nlsValues[T];
package/lib/nls.js ADDED
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.nls = void 0;
4
+ const nlsValues = require("./package.nls.json");
5
+ /**
6
+ * Non-localized strings util.
7
+ *
8
+ * @param key The key of the non-localized string to retrieve.
9
+ * @return string
10
+ */
11
+ function nls(key) {
12
+ return nlsValues[key];
13
+ }
14
+ exports.nls = nls;
@@ -0,0 +1,6 @@
1
+ {
2
+ "pg:database:arg:description": "config var containing the connection string, unique name, ID, or alias of the database. To access another app's database, prepend the app name to the config var or alias with `APP_NAME::`",
3
+ "pg:database:arg:description:default:suffix": ". If omitted, we use DATABASE_URL.",
4
+ "pg:database:arg:description:arbitrary:suffix": ". If omitted, we use a random database attached to the app.",
5
+ "pg:database:arg:description:all-dbs:suffix": ". If omitted, we use all databases."
6
+ }