1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.team = void 0;
|
4 | const core_1 = require("@oclif/core");
|
5 | exports.team = core_1.Flags.custom({
|
6 | char: 't',
|
7 | description: 'team to use',
|
8 | default: async ({ flags }) => {
|
9 | const { HEROKU_ORGANIZATION: org, HEROKU_TEAM: team } = process.env;
|
10 | if (flags.org)
|
11 | return flags.org;
|
12 | if (team)
|
13 | return team;
|
14 | if (org)
|
15 | return org;
|
16 | },
|
17 | });
|