Skip to content

Commit 9a3773d

Browse files
committed
refactor(dev-env): deprecate extended option in vip dev-env info
1 parent 834ec18 commit 9a3773d

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/bin/vip-dev-env-info.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,11 @@ const usage = 'vip dev-env info';
2424
const examples = [
2525
{
2626
usage: `${ exampleUsage } --slug=example-site`,
27-
description: 'Retrieve basic information about the local environment named "example-site".',
28-
},
29-
{
30-
usage: `${ exampleUsage } --slug=example-site --extended`,
31-
description:
32-
'Retrieve a larger amount of information about the local environment named "example-site".',
27+
description: 'Retrieve information about the local environment named "example-site".',
3328
},
3429
{
3530
usage: `${ exampleUsage } --all`,
36-
description: 'Retrieve basic information about all local environments.',
31+
description: 'Retrieve information about all local environments.',
3732
},
3833
];
3934

@@ -47,7 +42,7 @@ command( {
4742
processSlug
4843
)
4944
.option( 'all', 'Retrieve information about all local environments.' )
50-
.option( 'extended', 'Retrieve a larger amount of information.' )
45+
.option( 'extended', 'Deprecated, not used.' )
5146
.examples( examples )
5247
.argv( process.argv, async ( arg, opt ) => {
5348
let trackingInfo;
@@ -69,7 +64,7 @@ command( {
6964

7065
try {
7166
const options = {
72-
extended: Boolean( opt.extended ),
67+
extended: true,
7368
suppressWarnings: true,
7469
};
7570
if ( opt.all ) {

0 commit comments

Comments
 (0)