' + (alias.length === 1 ? '-' : '--') + alias + '
')
- .join(',');
- aliasText = ` (alias: ${aliasText})`;
- }
-
- return tags.stripIndent`
-
- --${option.name}
${aliasText} ${defaultText}
-
- ${option.description} -
-' + (alias.length === 1 ? '-' : '--') + alias + '
')
+ .join(',');
+ aliasText = ` (alias: ${aliasText})`;
+ }
- ## Overview
- ${command.description}
+ return tags.stripIndent`
+
+ --${option.name}
${aliasText}${defaultText}
+
+ ${option.description} +
+
- --global
(alias: -g
)
+ --global
(alias: -g
)
Get/set the value in the global configuration (in your home directory).
diff --git a/docs/documentation/doc.md b/docs/documentation/doc.md
index ab3ca31752eb..33fcd402f69c 100644
--- a/docs/documentation/doc.md
+++ b/docs/documentation/doc.md
@@ -9,7 +9,7 @@
-
Search whole angular.io instead of just api.
diff --git a/docs/documentation/eject.md b/docs/documentation/eject.md
new file mode 100644
index 000000000000..3e2ff0055fe4
--- /dev/null
+++ b/docs/documentation/eject.md
@@ -0,0 +1,9 @@
+
+
+# ng eject
+
+## Overview
+Temporarily disabled. Ejects your app and output the proper webpack configuration and scripts.
+
+## Options
+None.
diff --git a/docs/documentation/generate.md b/docs/documentation/generate.md
index 2470159a029d..ca7cb81c79b6 100644
--- a/docs/documentation/generate.md
+++ b/docs/documentation/generate.md
@@ -20,7 +20,7 @@
-
Run through without making any changes.
@@ -29,7 +29,7 @@
-
Forces overwriting of files.
diff --git a/docs/documentation/generate/app-shell.md b/docs/documentation/generate/app-shell.md
new file mode 100644
index 000000000000..42308267e804
--- /dev/null
+++ b/docs/documentation/generate/app-shell.md
@@ -0,0 +1,170 @@
+
+
+# ng generate app-shell
+
+## Overview
+Create an app shell.
+
+## Options
+
+
+ Run through without making any changes.
+
+
+ Forces overwriting of files.
+
+
+ Name of related client app.
+
+
+ Name of related universal app.
+
+
+ Route path used to produce the app shell.
+
+
+ Name of the universal app
+
+
+ The appId to use withServerTransition.
+
+
+ The output directory for build results.
+
+
+ The root directory of the app.
+
+
+ Name of the index file
+
+
+ The name of the main entry-point file.
+
+
+ The name of the test entry-point file.
+
+
+ The name of the TypeScript configuration file.
+
+
+ The name of the TypeScript configuration file for tests.
+
+
+ The name of the application directory.
+
+
+ The name of the root module file
+
+
+ The name of the root module class.
+
+
+ The path of the source directory.
+
+
+ Run through without making any changes.
+
+
+ Forces overwriting of files.
+
+
+ Specifies if the style will be in the ts file.
+
+
+ Specifies if the template will be in the ts file.
+
+
+ Specifies the view encapsulation strategy.
+
+
+ Generates a routing module.
+
+
+ The prefix to apply to generated selectors.
+
+
+ The file extension to be used for style files.
+
+
+ Skip creating spec files.
+
+
+ Do not add dependencies to package.json.
+
-
- Specifies app name to use.
+ Run through without making any changes.
+
+
+ Forces overwriting of files.
+
+
+ The name of the project.
@@ -25,3 +42,12 @@
Specifies if a spec file is generated.
+
+ Specifies the type of class.
+
-
- Specifies app name to use.
+ Run through without making any changes.
-
- Specifies the change detection strategy.
+ Forces overwriting of files.
-
- Flag to indicate if a dir is created.
+ The name of the project.
-
- Specifies if declaring module exports the component.
+ Specifies if the style will be in the ts file.
-
- Specifies if the style will be in the ts file.
+ Specifies if the template will be in the ts file.
-
- Specifies if the template will be in the ts file.
+ Specifies the view encapsulation strategy.
-
- Allows specification of the declaring module's file name (e.g `app.module.ts`).
+ Specifies the change detection strategy.
-
- Specifies whether to use the prefix.
+ The prefix to apply to generated selectors.
-
- Allows for skipping the module import.
+ The file extension to be used for style files.
@@ -105,13 +96,48 @@
Specifies if a spec file is generated.
-
- Specifies the view encapsulation strategy.
+ Flag to indicate if a dir is created.
+
+
+ Flag to skip the module import.
+
+
+ The selector to use for the component.
+
+
+ Allows specification of the declaring module.
+
+
+ Specifies if declaring module exports the component.
-
- Specifies app name to use.
+ Run through without making any changes.
-
- Specifies if declaring module exports the component.
+ Forces overwriting of files.
-
- Flag to indicate if a dir is created.
+ The name of the project.
-
- Allows specification of the declaring module.
+ The prefix to apply to generated selectors.
-
- Specifies whether to use the prefix.
+ Specifies if a spec file is generated.
- Allows for skipping the module import.
+ Flag to skip the module import.
-
- Specifies if a spec file is generated.
+ The selector to use for the directive.
+
+
+ Flag to indicate if a dir is created.
+
+
+ Allows specification of the declaring module.
+
+
+ Specifies if declaring module exports the directive.
-
- Specifies app name to use.
+ Run through without making any changes.
+
+
+ Forces overwriting of files.
+
+
+ The name of the project.
-
- Specifies app name to use.
+ Run through without making any changes.
+
+
+ Forces overwriting of files.
+
+
+ Specifies if a spec file is generated.
- Indicate if a dir is created.
+ Flag to indicate if a dir is created.
-
- Specifies where the guard should be provided.
+ Allows specification of the declaring module.
-
- Specifies if a spec file is generated.
+ The name of the project.
-
- Specifies app name to use.
+ Run through without making any changes.
+
+
+ Forces overwriting of files.
+
+ The name of the project.
+
+
- Optional String to specify the type of interface.
+ Specifies the prefix to use.
+
+ Run through without making any changes.
+
+
+ Forces overwriting of files.
+
+
+ The path to create the library's public API file.
+
+
+ The prefix to apply to generated selectors.
+
+
+ Do not add dependencies to package.json.
+
+
+ Do not update tsconfig.json for development experience.
+
-
- Specifies app name to use.
+ Run through without making any changes.
-
- Flag to indicate if a dir is created.
+ Forces overwriting of files.
-
- Specifies where the module should be imported.
+ The name of the project.
+
+
+ Generates a routing module.
+
+
+ The scope for the generated routing.
@@ -45,15 +60,21 @@
Specifies if a spec file is generated.
-
+ Flag to indicate if a dir is created.
- Specifies if a routing module file should be generated.
+
+ Allows specification of the declaring module.
-
- Specifies app name to use.
+ Run through without making any changes.
-
- Specifies if declaring module exports the pipe.
+ Forces overwriting of files.
+
+
+ The name of the project.
@@ -35,17 +42,15 @@
Flag to indicate if a dir is created.
-
- Allows specification of the declaring module.
+ Specifies if a spec file is generated.
@@ -55,13 +60,21 @@
Allows for skipping the module import.
-
- Specifies if a spec file is generated.
+ Allows specification of the declaring module.
+
+
+ Specifies if declaring module exports the pipe.
-
- Specifies app name to use.
+ Run through without making any changes.
-
- Flag to indicate if a dir is created.
+ Forces overwriting of files.
-
- Specifies where the service should be provided.
+ The name of the project.
+
+
+ Flag to indicate if a dir is created.
diff --git a/docs/documentation/generate/universal.md b/docs/documentation/generate/universal.md
new file mode 100644
index 000000000000..945eaa3c2c0c
--- /dev/null
+++ b/docs/documentation/generate/universal.md
@@ -0,0 +1,116 @@
+
+
+# ng generate universal
+
+## Overview
+Create an Angular universal app.
+
+## Options
+
+
+ Run through without making any changes.
+
+
+ Forces overwriting of files.
+
+
+ Name of related client app.
+
+
+ The appId to use withServerTransition.
+
+
+ The name of the main entry-point file.
+
+
+ The name of the test entry-point file.
+
+
+ The name of the TypeScript configuration file.
+
+
+ The name of the TypeScript configuration file for tests.
+
+
+ The name of the application directory.
+
+
+ The name of the root module file
+
+
+ The name of the root module class.
+
+
+ Skip installing dependency packages.
+
-
Run through without making any changes.
@@ -20,7 +20,7 @@ Default applications are created in a directory of the same name, with an initia
-
Forces overwriting of files.
@@ -29,7 +29,7 @@ Default applications are created in a directory of the same name, with an initia
-
Adds more details to output logging.
@@ -38,7 +38,7 @@ Default applications are created in a directory of the same name, with an initia
-
Schematics collection to use.
@@ -47,7 +47,7 @@ Default applications are created in a directory of the same name, with an initia
-
Specifies if the style will be in the ts file.
@@ -56,7 +56,7 @@ Default applications are created in a directory of the same name, with an initia
-
Specifies if the template will be in the ts file.
@@ -65,7 +65,7 @@ Default applications are created in a directory of the same name, with an initia
-
Specifies the view encapsulation strategy.
@@ -74,7 +74,7 @@ Default applications are created in a directory of the same name, with an initia
-
Generates a routing module.
@@ -83,7 +83,7 @@ Default applications are created in a directory of the same name, with an initia
-
The prefix to apply to generated selectors.
@@ -92,7 +92,7 @@ Default applications are created in a directory of the same name, with an initia
-
The file extension to be used for style files.
@@ -101,7 +101,7 @@ Default applications are created in a directory of the same name, with an initia
-
Skip creating spec files.
@@ -110,7 +110,7 @@ Default applications are created in a directory of the same name, with an initia
-
Do not add dependencies to package.json.
diff --git a/docs/documentation/run.md b/docs/documentation/run.md
index 4c58f7308b2d..c7de54d15085 100644
--- a/docs/documentation/run.md
+++ b/docs/documentation/run.md
@@ -9,7 +9,7 @@ Runs Architect targets.
-
Specify the configuration to use.
diff --git a/docs/documentation/update.md b/docs/documentation/update.md
index 9fca82dff015..38b39baaac58 100644
--- a/docs/documentation/update.md
+++ b/docs/documentation/update.md
@@ -9,7 +9,7 @@
-
Run through without making any changes.
@@ -18,7 +18,7 @@
-
If false, will error out if installed packages are incompatible with the update.
@@ -27,7 +27,7 @@
-
Whether to update all packages in package.json.
@@ -36,7 +36,7 @@
-
Use the largest version, including beta and RCs.
@@ -45,7 +45,7 @@
-
Only perform a migration, does not update the installed version.
@@ -54,7 +54,7 @@
-
Version from which to migrate from. Only available with a single package being updated, and only on migration only.
@@ -63,7 +63,7 @@
-
Version up to which to apply migrations. Only available with a single package being updated, and only on migrations only. Requires from to be specified. Default to the installed version detected.
@@ -72,7 +72,7 @@
-
The NPM registry to use.
diff --git a/docs/documentation/xi18n.md b/docs/documentation/xi18n.md
index f05b946ae567..6ba9d6536571 100644
--- a/docs/documentation/xi18n.md
+++ b/docs/documentation/xi18n.md
@@ -9,7 +9,7 @@
-
Specify the configuration to use.
@@ -18,7 +18,7 @@
-
Target to extract from.
@@ -27,7 +27,7 @@
-
Output format for the generated file.
@@ -36,7 +36,7 @@
-
Specifies the source language of the application.
@@ -45,7 +45,7 @@
-
Path where output will be placed.
@@ -54,7 +54,7 @@
-
Name of the file to output.
From 46be83ac183e40ac0ad7d2b9c871abcee86761c7 Mon Sep 17 00:00:00 2001
From: Charles Lyding <19598772+clydin@users.noreply.github.com>
Date: Tue, 1 May 2018 15:06:04 -0700
Subject: [PATCH 3/3] fix(@angular/cli): mark get/set deprecation command as
hidden
---
packages/@angular/cli/commands/getset.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/@angular/cli/commands/getset.ts b/packages/@angular/cli/commands/getset.ts
index 4baeb91b8923..85b674bd7cd8 100644
--- a/packages/@angular/cli/commands/getset.ts
+++ b/packages/@angular/cli/commands/getset.ts
@@ -10,6 +10,7 @@ export default class GetSetCommand extends Command {
public readonly description = 'Deprecated in favor of config command.';
public readonly arguments: string[] = [];
public readonly options: Option[] = [];
+ public readonly hidden = true;
public async run(_options: Options) {
this.logger.warn('get/set have been deprecated in favor of the config command.');
search
--search
(alias: -s
)
+ --search
(alias: -s
)
dry-run
--dry-run
(alias: -d
)
+ --dry-run
(alias: -d
)
force
--force
(alias: -f
)
+ --force
(alias: -f
)
dry-run
+ --dry-run
(alias: -d
)
+ force
+ --force
(alias: -f
)
+ client-project
+ --client-project
+ universal-project
+ --universal-project
+ route
+ --route
+ name
+ --name
+ app-id
+ --app-id
+ out-dir
+ --out-dir
+ root
+ --root
+ index
+ --index
+ main
+ --main
+ test
+ --test
+ tsconfig-file-name
+ --tsconfig-file-name
+ test-tsconfig-file-name
+ --test-tsconfig-file-name
+ app-dir
+ --app-dir
+ root-module-file-name
+ --root-module-file-name
+ root-module-class-name
+ --root-module-class-name
+ source-dir
+ --source-dir
(alias: -D
)
+ dry-run
+ --dry-run
(alias: -d
)
+ force
+ --force
(alias: -f
)
+ inline-style
+ --inline-style
(alias: -s
)
+ inline-template
+ --inline-template
(alias: -t
)
+ view-encapsulation
+ --view-encapsulation
+ routing
+ --routing
+ prefix
+ --prefix
(alias: -p
)
+ style
+ --style
+ skip-tests
+ --skip-tests
(alias: -S
)
+ skip-package-json
+ --skip-package-json
+ app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
force
+ --force
(alias: -f
)
+ project
+ --project
+ spec
type
+ --type
+ app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
change-detection
+ force
--change-detection
(aliases: -c
)
+ --force
(alias: -f
)
flat
+ project
--flat
default value: false
+ --project
export
+ inline-style
--export
default value: false
+ --inline-style
(alias: -s
)
inline-style
+ inline-template
--inline-style
(aliases: -s
) default value: false
+ --inline-template
(alias: -t
)
inline-template
+ view-encapsulation
--inline-template
(aliases: -t
) default value: false
+ --view-encapsulation
(alias: -v
)
module
+ change-detection
--module
(aliases: -m
)
+ --change-detection
(alias: -c
)
prefix
--prefix
+ --prefix
(alias: -p
)
skip-import
+ styleext
--skip-import
default value: false
+ --styleext
spec
view-encapsulation
+ flat
--view-encapsulation
(aliases: -v
)
+ --flat
skip-import
+ --skip-import
+ selector
+ --selector
+ module
+ --module
(alias: -m
)
+ export
+ --export
+ app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
export
+ force
--export
default value: false
+ --force
(alias: -f
)
flat
+ project
--flat
+ --project
module
+ prefix
--module
(aliases: -m
)
+ --prefix
(alias: -p
)
prefix
+ spec
--prefix
+ --spec
skip-import
--skip-import
spec
+ selector
--spec
+ --selector
flat
+ --flat
+ module
+ --module
(alias: -m
)
+ export
+ --export
+ app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
force
+ --force
(alias: -f
)
+ project
+ --project
+ app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
force
+ --force
(alias: -f
)
+ spec
+ --spec
+ flat
--flat
module
--module
(aliases: -m
)
+ --module
(alias: -m
)
spec
+ project
--spec
+ --project
app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
force
+ --force
(alias: -f
)
+ type
+ project
+ --project
+ prefix
+ --prefix
+ dry-run
+ --dry-run
(alias: -d
)
+ force
+ --force
(alias: -f
)
+ entry-file
+ --entry-file
+ prefix
+ --prefix
(alias: -p
)
+ skip-package-json
+ --skip-package-json
+ skip-ts-config
+ --skip-ts-config
+ app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
flat
+ force
--flat
+ --force
(alias: -f
)
module
+ project
--module
(aliases: -m
)
+ --project
routing
+ --routing
+ routing-scope
+ --routing-scope
+ spec
routing
+ flat
--routing
+ --flat
+ module
--module
(alias: -m
)
+ app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
export
+ force
--export
+ --force
(alias: -f
)
project
+ --project
+ flat
module
+ spec
--module
(aliases: -m
)
+ --spec
skip-import
spec
+ module
--spec
+ --module
(alias: -m
)
export
+ --export
+ app
+ dry-run
--app
(aliases: -a
) default value: 1st app
+ --dry-run
(alias: -d
)
flat
+ force
--flat
+ --force
(alias: -f
)
module
+ project
--module
(aliases: -m
)
+ --project
flat
+ --flat
+ spec
dry-run
+ --dry-run
(alias: -d
)
+ force
+ --force
(alias: -f
)
+ client-project
+ --client-project
+ app-id
+ --app-id
+ main
+ --main
+ test
+ --test
+ tsconfig-file-name
+ --tsconfig-file-name
+ test-tsconfig-file-name
+ --test-tsconfig-file-name
+ app-dir
+ --app-dir
+ root-module-file-name
+ --root-module-file-name
+ root-module-class-name
+ --root-module-class-name
+ skip-install
+ --skip-install
+ dry-run
--dry-run
(alias: -d
)
+ --dry-run
(alias: -d
)
force
--force
(alias: -f
)
+ --force
(alias: -f
)
verbose
--verbose
(alias: -v
)
+ --verbose
(alias: -v
)
collection
--collection
(alias: -c
)
+ --collection
(alias: -c
)
inline-style
--inline-style
(alias: -s
)
+ --inline-style
(alias: -s
)
inline-template
--inline-template
(alias: -t
)
+ --inline-template
(alias: -t
)
view-encapsulation
--view-encapsulation
+ --view-encapsulation
routing
--routing
+ --routing
prefix
--prefix
(alias: -p
)
+ --prefix
(alias: -p
)
style
--style
+ --style
skip-tests
--skip-tests
(alias: -S
)
+ --skip-tests
(alias: -S
)
skip-package-json
--skip-package-json
+ --skip-package-json
configuration
--configuration
(alias: -c
)
+ --configuration
(alias: -c
)
dry-run
--dry-run
(alias: -d
)
+ --dry-run
(alias: -d
)
force
--force
+ --force
all
--all
+ --all
next
--next
+ --next
migrate-only
--migrate-only
+ --migrate-only
from
--from
+ --from
to
--to
+ --to
registry
--registry
+ --registry
configuration
--configuration
(alias: -c
)
+ --configuration
(alias: -c
)
browser-target
--browser-target
+ --browser-target
i18n-format
--i18n-format
+ --i18n-format
i18n-locale
--i18n-locale
+ --i18n-locale
output-path
--output-path
+ --output-path
out-file
--out-file
+ --out-file