Skip to content

Commit

Permalink
fix(core): remove unused quiet option from nx cli
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry authored and FrozenPandaz committed May 4, 2021
1 parent 81b0b5f commit 8654cb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/workspace/src/command-line/nx-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ export const commandsObject = yargs
(await import('./connect-to-nx-cloud')).connectToNxCloudCommand()
)
.help('help')
.version(nxVersion)
.option('quiet', { type: 'boolean', hidden: true });
.version(nxVersion);

function withFormatOptions(yargs: yargs.Argv): yargs.Argv {
return withAffectedOptions(yargs)
Expand Down
4 changes: 1 addition & 3 deletions packages/workspace/src/command-line/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const runOne = [
'hide-cached-output',
];

const runMany = [...runOne, 'projects', 'quiet', 'all', 'verbose'];
const runMany = [...runOne, 'projects', 'all', 'verbose'];

const runAffected = [
...runOne,
Expand All @@ -31,7 +31,6 @@ const runAffected = [
'base',
'head',
'files',
'quiet',
'plain',
'select',
'verbose',
Expand Down Expand Up @@ -60,7 +59,6 @@ export interface NxArgs {
verbose?: boolean;
help?: boolean;
version?: boolean;
quiet?: boolean;
plain?: boolean;
withDeps?: boolean;
'with-deps'?: boolean;
Expand Down

0 comments on commit 8654cb0

Please sign in to comment.