fix(core): remove unused quiet option from nx cli

This commit is contained in:
James Henry 2021-04-29 20:47:36 +04:00 committed by Victor Savkin
parent 217f581472
commit 8d24bb01a0
2 changed files with 2 additions and 5 deletions

View File

@ -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)

View File

@ -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,
@ -31,7 +31,6 @@ const runAffected = [
'base',
'head',
'files',
'quiet',
'plain',
'select',
'verbose',
@ -60,7 +59,6 @@ export interface NxArgs {
verbose?: boolean;
help?: boolean;
version?: boolean;
quiet?: boolean;
plain?: boolean;
withDeps?: boolean;
'with-deps'?: boolean;