Skip to content

Commit f0af192

Browse files
committed
chore: various improvements
1 parent 74d86c5 commit f0af192

File tree

3 files changed

+221
-144
lines changed

3 files changed

+221
-144
lines changed

src/commands/org/create/scratch.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default class OrgCreateScratch extends SfCommand<ScratchCreateResponse> {
107107
wait: Flags.duration({
108108
unit: 'minutes',
109109
default: Duration.minutes(5),
110-
min: 1,
110+
min: 2,
111111
char: 'w',
112112
helpValue: '<minutes>',
113113
summary: messages.getMessage('flags.wait.summary'),
@@ -179,24 +179,24 @@ export default class OrgCreateScratch extends SfCommand<ScratchCreateResponse> {
179179
label: 'Request Id',
180180
get: (data) =>
181181
data.scratchOrgInfo?.Id && terminalLink(data.scratchOrgInfo.Id, `${baseUrl}/${data.scratchOrgInfo.Id}`),
182-
isBold: true,
182+
bold: true,
183183
},
184184
{
185185
label: 'OrgId',
186186
get: (data) => data.scratchOrgInfo?.ScratchOrg,
187-
isBold: true,
187+
bold: true,
188188
color: 'cyan',
189189
},
190190
{
191191
label: 'Username',
192192
get: (data) => data.scratchOrgInfo?.SignupUsername,
193-
isBold: true,
193+
bold: true,
194194
color: 'cyan',
195195
},
196196
{
197197
label: 'Alias',
198198
get: (data) => data.alias,
199-
isStatic: true,
199+
static: true,
200200
},
201201
],
202202
});

src/commands/org/resume/scratch.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,24 +68,24 @@ export default class OrgResumeScratch extends SfCommand<ScratchCreateResponse> {
6868
label: 'Request Id',
6969
get: (data) =>
7070
data.scratchOrgInfo?.Id && terminalLink(data.scratchOrgInfo.Id, `${hubBaseUrl}/${data.scratchOrgInfo.Id}`),
71-
isBold: true,
71+
bold: true,
7272
},
7373
{
7474
label: 'OrgId',
7575
get: (data) => data.scratchOrgInfo?.ScratchOrg,
76-
isBold: true,
76+
bold: true,
7777
color: 'cyan',
7878
},
7979
{
8080
label: 'Username',
8181
get: (data) => data.scratchOrgInfo?.SignupUsername,
82-
isBold: true,
82+
bold: true,
8383
color: 'cyan',
8484
},
8585
{
8686
label: 'Alias',
8787
get: (data) => data.alias,
88-
isStatic: true,
88+
static: true,
8989
},
9090
],
9191
});

0 commit comments

Comments
 (0)