We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 169d327 commit 80207baCopy full SHA for 80207ba
packages/@angular/cli/commands/new.ts
@@ -39,7 +39,8 @@ const NewCommand = Command.extend({
39
type: Boolean,
40
default: false,
41
aliases: ['lc'],
42
- description: 'Automatically link the `@angular/cli` package.'
+ description: 'Automatically link the `@angular/cli` package.',
43
+ hidden: true
44
},
45
{
46
name: 'skip-install',
tests/e2e/tests/commands/help/help-hidden.ts
@@ -13,5 +13,14 @@ export default function() {
13
in help output.
14
`);
15
}
16
- });
+ })
17
+ .then(() => silentNg('--help', 'new'))
18
+ .then(({ stdout }) => {
19
+ if (stdout.match(/--link-cli/)) {
20
+ throw new Error(oneLine`
21
+ Expected to not match "--link-cli"
22
+ in help output.
23
+ `);
24
+ }
25
26
0 commit comments