heroku 8.4.4-beta.2 → 8.4.4-beta.4
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/README.md +0 -3
- package/lib/commands/domains/index.d.ts +1 -1
- package/lib/commands/pipelines/add.js +1 -1
- package/lib/commands/pipelines/connect.js +1 -1
- package/lib/commands/pipelines/create.js +1 -1
- package/lib/commands/pipelines/destroy.js +1 -1
- package/lib/commands/pipelines/diff.js +1 -1
- package/lib/commands/pipelines/info.js +1 -1
- package/lib/commands/pipelines/promote.js +1 -1
- package/lib/commands/pipelines/remove.js +1 -1
- package/lib/commands/pipelines/rename.js +1 -1
- package/lib/commands/pipelines/setup.js +1 -1
- package/lib/commands/pipelines/transfer.js +1 -1
- package/lib/commands/pipelines/update.js +1 -1
- package/lib/lib/{api.d.ts → pipelines/api.d.ts} +0 -1
- package/lib/lib/{api.js → pipelines/api.js} +1 -8
- package/lib/lib/pipelines/disambiguate.js +1 -1
- package/lib/lib/pipelines/ownership.js +1 -1
- package/lib/lib/pipelines/setup/create-apps.js +1 -1
- package/lib/lib/pipelines/setup/poll-app-setups.js +1 -1
- package/oclif.manifest.json +1 -52
- package/package.json +4 -4
- package/lib/commands/ci/config/get.d.ts +0 -16
- package/lib/commands/ci/config/get.js +0 -37
package/README.md
CHANGED
|
@@ -56,16 +56,13 @@ For other issues, [submit a support ticket](https://help.heroku.com/).
|
|
|
56
56
|
* [`heroku logs`](docs/logs.md) - display recent log output
|
|
57
57
|
* [`heroku maintenance`](docs/maintenance.md) - enable/disable access to app
|
|
58
58
|
* [`heroku members`](docs/members.md) - manage organization members
|
|
59
|
-
* [`heroku notifications`](docs/notifications.md) - display notifications
|
|
60
59
|
* [`heroku orgs`](docs/orgs.md) - manage organizations
|
|
61
60
|
* [`heroku pg`](docs/pg.md) - manage postgresql databases
|
|
62
61
|
* [`heroku pipelines`](docs/pipelines.md) - manage pipelines
|
|
63
62
|
* [`heroku plugins`](docs/plugins.md) - List installed plugins.
|
|
64
63
|
* [`heroku ps`](docs/ps.md) - Client tools for Heroku Exec
|
|
65
|
-
* [`heroku psql`](docs/psql.md) - open a psql shell to the database
|
|
66
64
|
* [`heroku redis`](docs/redis.md) - manage heroku redis instances
|
|
67
65
|
* [`heroku regions`](docs/regions.md) - list available regions for deployment
|
|
68
|
-
* [`heroku releases`](docs/releases.md) - display the releases for an app
|
|
69
66
|
* [`heroku reviewapps`](docs/reviewapps.md) - manage reviewapps in pipelines
|
|
70
67
|
* [`heroku run`](docs/run.md) - run a one-off process inside a Heroku dyno
|
|
71
68
|
* [`heroku sessions`](docs/sessions.md) - OAuth sessions
|
|
@@ -7,8 +7,8 @@ export default class DomainsIndex extends Command {
|
|
|
7
7
|
extended: import("@oclif/core/lib/interfaces").Flag<boolean>;
|
|
8
8
|
'no-header': import("@oclif/core/lib/interfaces").Flag<boolean>;
|
|
9
9
|
sort: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
10
|
-
filter: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
10
|
columns: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
|
+
filter: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
12
12
|
csv: import("@oclif/core/lib/interfaces").Flag<boolean>;
|
|
13
13
|
output: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
14
14
|
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
@@ -5,7 +5,7 @@ const command_1 = require("@heroku-cli/command");
|
|
|
5
5
|
const completions_1 = require("@heroku-cli/command/lib/completions");
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
7
|
const inquirer_1 = require("inquirer");
|
|
8
|
-
const api_1 = require("../../lib/api");
|
|
8
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
9
9
|
const disambiguate_1 = require("../../lib/pipelines/disambiguate");
|
|
10
10
|
const infer_1 = require("../../lib/pipelines/infer");
|
|
11
11
|
const stages_1 = require("../../lib/pipelines/stages");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const command_1 = require("@heroku-cli/command");
|
|
4
4
|
const core_1 = require("@oclif/core");
|
|
5
|
-
const api_1 = require("../../lib/api");
|
|
5
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
6
6
|
const github_api_1 = require("../../lib/pipelines/github-api");
|
|
7
7
|
const kolkrabbi_api_1 = require("../../lib/pipelines/kolkrabbi-api");
|
|
8
8
|
const get_github_token_1 = require("../../lib/pipelines/setup/get-github-token");
|
|
@@ -5,7 +5,7 @@ const command_1 = require("@heroku-cli/command");
|
|
|
5
5
|
const completions_1 = require("@heroku-cli/command/lib/completions");
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
7
|
const inquirer_1 = require("inquirer");
|
|
8
|
-
const api_1 = require("../../lib/api");
|
|
8
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
9
9
|
const infer_1 = require("../../lib/pipelines/infer");
|
|
10
10
|
const stages_1 = require("../../lib/pipelines/stages");
|
|
11
11
|
class Create extends command_1.Command {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const color_1 = require("@heroku-cli/color");
|
|
4
4
|
const command_1 = require("@heroku-cli/command");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const api_1 = require("../../lib/api");
|
|
6
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
7
7
|
const disambiguate_1 = require("../../lib/pipelines/disambiguate");
|
|
8
8
|
class PipelinesDestroy extends command_1.Command {
|
|
9
9
|
async run() {
|
|
@@ -4,7 +4,7 @@ const color_1 = require("@heroku-cli/color");
|
|
|
4
4
|
const command_1 = require("@heroku-cli/command");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
6
|
const http_call_1 = require("http-call");
|
|
7
|
-
const api_1 = require("../../lib/api");
|
|
7
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
8
8
|
const kolkrabbi_api_1 = require("../../lib/pipelines/kolkrabbi-api");
|
|
9
9
|
const PROMOTION_ORDER = ['development', 'staging', 'production'];
|
|
10
10
|
async function diff(targetApp, downstreamApp, githubToken, herokuUserAgent) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const command_1 = require("@heroku-cli/command");
|
|
4
4
|
const core_1 = require("@oclif/core");
|
|
5
|
-
const api_1 = require("../../lib/api");
|
|
5
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
6
6
|
const disambiguate_1 = require("../../lib/pipelines/disambiguate");
|
|
7
7
|
const render_pipeline_1 = require("../../lib/pipelines/render-pipeline");
|
|
8
8
|
class PipelinesInfo extends command_1.Command {
|
|
@@ -8,7 +8,7 @@ const assert = require("assert");
|
|
|
8
8
|
const node_fetch_1 = require("node-fetch");
|
|
9
9
|
const Stream = require("stream");
|
|
10
10
|
const util = require("util");
|
|
11
|
-
const api_1 = require("../../lib/api");
|
|
11
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
12
12
|
const key_by_1 = require("../../lib/pipelines/key-by");
|
|
13
13
|
const sleep = (time) => {
|
|
14
14
|
return new Promise(resolve => setTimeout(resolve, time));
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const color_1 = require("@heroku-cli/color");
|
|
4
4
|
const command_1 = require("@heroku-cli/command");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const api_1 = require("../../lib/api");
|
|
6
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
7
7
|
class PipelinesRemove extends command_1.Command {
|
|
8
8
|
async run() {
|
|
9
9
|
const { flags: { app } } = await this.parse(PipelinesRemove);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const color_1 = require("@heroku-cli/color");
|
|
4
4
|
const command_1 = require("@heroku-cli/command");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const api_1 = require("../../lib/api");
|
|
6
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
7
7
|
const disambiguate_1 = require("../../lib/pipelines/disambiguate");
|
|
8
8
|
class PipelinesRename extends command_1.Command {
|
|
9
9
|
async run() {
|
|
@@ -5,7 +5,7 @@ const command_1 = require("@heroku-cli/command");
|
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
6
|
const open = require("open");
|
|
7
7
|
const debug_1 = require("debug");
|
|
8
|
-
const api_1 = require("../../lib/api");
|
|
8
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
9
9
|
const github_api_1 = require("../../lib/pipelines/github-api");
|
|
10
10
|
const kolkrabbi_api_1 = require("../../lib/pipelines/kolkrabbi-api");
|
|
11
11
|
const create_apps_1 = require("../../lib/pipelines/setup/create-apps");
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const color_1 = require("@heroku-cli/color");
|
|
4
4
|
const command_1 = require("@heroku-cli/command");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const api_1 = require("../../lib/api");
|
|
6
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
7
7
|
const disambiguate_1 = require("../../lib/pipelines/disambiguate");
|
|
8
8
|
const render_pipeline_1 = require("../../lib/pipelines/render-pipeline");
|
|
9
9
|
async function getTeamOwner(heroku, name) {
|
|
@@ -4,7 +4,7 @@ const color_1 = require("@heroku-cli/color");
|
|
|
4
4
|
const command_1 = require("@heroku-cli/command");
|
|
5
5
|
const completions_1 = require("@heroku-cli/command/lib/completions");
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
|
-
const api_1 = require("../../lib/api");
|
|
7
|
+
const api_1 = require("../../lib/pipelines/api");
|
|
8
8
|
class PipelinesUpdate extends command_1.Command {
|
|
9
9
|
async run() {
|
|
10
10
|
const { flags } = await this.parse(PipelinesUpdate);
|
|
@@ -23,4 +23,3 @@ export declare function patchCoupling(heroku: APIClient, id: string, stage: stri
|
|
|
23
23
|
export declare function removeCoupling(heroku: APIClient, app: string): Promise<import("http-call").HTTP<unknown>>;
|
|
24
24
|
export declare function updateCoupling(heroku: APIClient, app: string, stage: string): Promise<import("http-call").HTTP<unknown>>;
|
|
25
25
|
export declare function getReleases(heroku: APIClient, appId: string): Promise<import("http-call").HTTP<Heroku.Release[]>>;
|
|
26
|
-
export declare function getPipelineConfigVars(heroku: APIClient, pipelineID: string): Promise<import("http-call").HTTP<Heroku.ConfigVars>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getReleases = exports.updateCoupling = exports.removeCoupling = exports.patchCoupling = exports.listPipelineApps = exports.getAppSetup = exports.getAccountInfo = exports.getTeam = exports.updatePipeline = exports.getPipeline = exports.getCoupling = exports.findPipelineByName = exports.destroyPipeline = exports.createPipelineTransfer = exports.createPipeline = exports.createCoupling = exports.postCoupling = exports.createAppSetup = exports.PIPELINES_HEADER = exports.FILTERS_HEADER = exports.V3_HEADER = void 0;
|
|
4
4
|
const lodash_1 = require("lodash");
|
|
5
5
|
exports.V3_HEADER = 'application/vnd.heroku+json; version=3';
|
|
6
6
|
exports.FILTERS_HEADER = `${exports.V3_HEADER}.filters`;
|
|
@@ -128,10 +128,3 @@ function getReleases(heroku, appId) {
|
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
exports.getReleases = getReleases;
|
|
131
|
-
function getPipelineConfigVars(heroku, pipelineID) {
|
|
132
|
-
return heroku.request(`/pipelines/${pipelineID}/stage/test/config-vars`, {
|
|
133
|
-
method: 'GET',
|
|
134
|
-
headers: { Accept: exports.PIPELINES_HEADER },
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
exports.getPipelineConfigVars = getPipelineConfigVars;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const inquirer_1 = require("inquirer");
|
|
4
4
|
const validator_1 = require("validator");
|
|
5
|
-
const api_1 = require("
|
|
5
|
+
const api_1 = require("./api");
|
|
6
6
|
async function disambiguate(heroku, pipelineIDOrName) {
|
|
7
7
|
let pipeline;
|
|
8
8
|
if ((0, validator_1.isUUID)(pipelineIDOrName)) {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getOwner = exports.warnMixedOwnership = void 0;
|
|
4
4
|
const color_1 = require("@heroku-cli/color");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const api_1 = require("
|
|
6
|
+
const api_1 = require("./api");
|
|
7
7
|
function warnMixedOwnership(pipelineApps, pipeline, owner) {
|
|
8
8
|
const hasMixedOwnership = pipelineApps.some(app => {
|
|
9
9
|
return (app.owner && app.owner.id) !== pipeline.owner.id;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const core_1 = require("@oclif/core");
|
|
4
|
-
const api_1 = require("
|
|
4
|
+
const api_1 = require("../api");
|
|
5
5
|
function createApp(heroku, { archiveURL, name, organization, pipeline, stage }) {
|
|
6
6
|
const params = {
|
|
7
7
|
source_blob: { url: archiveURL },
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "8.4.4-beta.
|
|
2
|
+
"version": "8.4.4-beta.4",
|
|
3
3
|
"commands": {
|
|
4
4
|
"console": {
|
|
5
5
|
"id": "console",
|
|
@@ -3130,57 +3130,6 @@
|
|
|
3130
3130
|
},
|
|
3131
3131
|
"args": {}
|
|
3132
3132
|
},
|
|
3133
|
-
"ci:config:get": {
|
|
3134
|
-
"id": "ci:config:get",
|
|
3135
|
-
"description": "get a CI config var",
|
|
3136
|
-
"strict": true,
|
|
3137
|
-
"pluginName": "heroku",
|
|
3138
|
-
"pluginAlias": "heroku",
|
|
3139
|
-
"pluginType": "core",
|
|
3140
|
-
"aliases": [],
|
|
3141
|
-
"examples": [
|
|
3142
|
-
"$ heroku ci:config:get --pipeline=PIPELINE RAILS_ENV\n test"
|
|
3143
|
-
],
|
|
3144
|
-
"flags": {
|
|
3145
|
-
"help": {
|
|
3146
|
-
"name": "help",
|
|
3147
|
-
"type": "boolean",
|
|
3148
|
-
"char": "h",
|
|
3149
|
-
"description": "Show CLI help.",
|
|
3150
|
-
"allowNo": false
|
|
3151
|
-
},
|
|
3152
|
-
"app": {
|
|
3153
|
-
"name": "app",
|
|
3154
|
-
"type": "option",
|
|
3155
|
-
"char": "a",
|
|
3156
|
-
"description": "app to run command against",
|
|
3157
|
-
"required": false,
|
|
3158
|
-
"multiple": false
|
|
3159
|
-
},
|
|
3160
|
-
"pipeline": {
|
|
3161
|
-
"name": "pipeline",
|
|
3162
|
-
"type": "option",
|
|
3163
|
-
"char": "p",
|
|
3164
|
-
"description": "name of pipeline",
|
|
3165
|
-
"required": false,
|
|
3166
|
-
"multiple": false
|
|
3167
|
-
},
|
|
3168
|
-
"shell": {
|
|
3169
|
-
"name": "shell",
|
|
3170
|
-
"type": "boolean",
|
|
3171
|
-
"char": "s",
|
|
3172
|
-
"description": "output config var in shell format",
|
|
3173
|
-
"allowNo": false
|
|
3174
|
-
}
|
|
3175
|
-
},
|
|
3176
|
-
"args": {
|
|
3177
|
-
"key": {
|
|
3178
|
-
"name": "key",
|
|
3179
|
-
"required": true
|
|
3180
|
-
}
|
|
3181
|
-
},
|
|
3182
|
-
"topic": "ci"
|
|
3183
|
-
},
|
|
3184
3133
|
"ps:autoscale:disable": {
|
|
3185
3134
|
"id": "ps:autoscale:disable",
|
|
3186
3135
|
"description": "disable web dyno autoscaling",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "8.4.4-beta.
|
|
4
|
+
"version": "8.4.4-beta.4",
|
|
5
5
|
"author": "Jeff Dickey @jdxcode",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
"@heroku-cli/command-v9": "npm:@heroku-cli/command@^9.0.2",
|
|
12
12
|
"@heroku-cli/notifications": "^1.2.2",
|
|
13
13
|
"@heroku-cli/plugin-addons-v5": "^8.4.0",
|
|
14
|
-
"@heroku-cli/plugin-apps-v5": "^8.4.4-beta.
|
|
14
|
+
"@heroku-cli/plugin-apps-v5": "^8.4.4-beta.3",
|
|
15
15
|
"@heroku-cli/plugin-certs-v5": "^8.2.0",
|
|
16
16
|
"@heroku-cli/plugin-ci-v5": "^8.2.0",
|
|
17
17
|
"@heroku-cli/plugin-container-registry-v5": "^8.2.0",
|
|
18
18
|
"@heroku-cli/plugin-orgs-v5": "^8.2.0",
|
|
19
|
-
"@heroku-cli/plugin-pg-v5": "^8.4.4-beta.
|
|
19
|
+
"@heroku-cli/plugin-pg-v5": "^8.4.4-beta.3",
|
|
20
20
|
"@heroku-cli/plugin-ps": "^8.1.7",
|
|
21
21
|
"@heroku-cli/plugin-ps-exec": "^2.4.0",
|
|
22
22
|
"@heroku-cli/plugin-redis-v5": "^8.2.0",
|
|
@@ -341,5 +341,5 @@
|
|
|
341
341
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
342
342
|
},
|
|
343
343
|
"types": "lib/index.d.ts",
|
|
344
|
-
"gitHead": "
|
|
344
|
+
"gitHead": "76704a4c3ef612150e65fe362f47fd440ad3d284"
|
|
345
345
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Command } from '@heroku-cli/command';
|
|
2
|
-
export default class CiConfigGet extends Command {
|
|
3
|
-
static description: string;
|
|
4
|
-
static topic: string;
|
|
5
|
-
static examples: string[];
|
|
6
|
-
static flags: {
|
|
7
|
-
help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
|
|
8
|
-
app: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
9
|
-
pipeline: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
10
|
-
shell: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
|
-
};
|
|
12
|
-
static args: {
|
|
13
|
-
key: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
|
|
14
|
-
};
|
|
15
|
-
run(): Promise<void>;
|
|
16
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const command_1 = require("@heroku-cli/command");
|
|
4
|
-
const core_1 = require("@oclif/core");
|
|
5
|
-
const shellescape = require("shell-escape");
|
|
6
|
-
const api_1 = require("../../../lib/api");
|
|
7
|
-
const pipelines_1 = require("../../../lib/ci/pipelines");
|
|
8
|
-
class CiConfigGet extends command_1.Command {
|
|
9
|
-
async run() {
|
|
10
|
-
const { args, flags } = await this.parse(CiConfigGet);
|
|
11
|
-
const pipeline = await (0, pipelines_1.getPipeline)(flags, this);
|
|
12
|
-
const { body: config } = await (0, api_1.getPipelineConfigVars)(this.heroku, pipeline.id);
|
|
13
|
-
const value = config[args.key];
|
|
14
|
-
if (flags.shell) {
|
|
15
|
-
core_1.ux.log(`${args.key}=${shellescape([value])}`);
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
core_1.ux.log((value !== null && value !== undefined) ? value : 'undefined');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.default = CiConfigGet;
|
|
23
|
-
CiConfigGet.description = 'get a CI config var';
|
|
24
|
-
CiConfigGet.topic = 'ci';
|
|
25
|
-
CiConfigGet.examples = [
|
|
26
|
-
`$ heroku ci:config:get --pipeline=PIPELINE RAILS_ENV
|
|
27
|
-
test`,
|
|
28
|
-
];
|
|
29
|
-
CiConfigGet.flags = {
|
|
30
|
-
help: command_1.flags.help({ char: 'h' }),
|
|
31
|
-
app: command_1.flags.app({ required: false }),
|
|
32
|
-
pipeline: command_1.flags.pipeline({ required: false }),
|
|
33
|
-
shell: command_1.flags.boolean({ char: 's', description: 'output config var in shell format' }),
|
|
34
|
-
};
|
|
35
|
-
CiConfigGet.args = {
|
|
36
|
-
key: core_1.Args.string({ required: true }),
|
|
37
|
-
};
|