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() (await import('./connect-to-nx-cloud')).connectToNxCloudCommand()
) )
.help('help') .help('help')
.version(nxVersion) .version(nxVersion);
.option('quiet', { type: 'boolean', hidden: true });
function withFormatOptions(yargs: yargs.Argv): yargs.Argv { function withFormatOptions(yargs: yargs.Argv): yargs.Argv {
return withAffectedOptions(yargs) return withAffectedOptions(yargs)

View File

@ -21,7 +21,7 @@ const runOne = [
'hide-cached-output', 'hide-cached-output',
]; ];
const runMany = [...runOne, 'projects', 'quiet', 'all', 'verbose']; const runMany = [...runOne, 'projects', 'all', 'verbose'];
const runAffected = [ const runAffected = [
...runOne, ...runOne,
@ -31,7 +31,6 @@ const runAffected = [
'base', 'base',
'head', 'head',
'files', 'files',
'quiet',
'plain', 'plain',
'select', 'select',
'verbose', 'verbose',
@ -60,7 +59,6 @@ export interface NxArgs {
verbose?: boolean; verbose?: boolean;
help?: boolean; help?: boolean;
version?: boolean; version?: boolean;
quiet?: boolean;
plain?: boolean; plain?: boolean;
withDeps?: boolean; withDeps?: boolean;
'with-deps'?: boolean; 'with-deps'?: boolean;