diff --git a/tldr/disable b/tldr/disable new file mode 100644 index 00000000..8a641fe9 --- /dev/null +++ b/tldr/disable @@ -0,0 +1,18 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# disable + +> Disable built-in shell commands in Zsh. +> See also: `enable`. +> More information: . + +- Disable command: + +`disable {{command1 command2 ...}}` + +- List all disabled commands: + +`disable` diff --git a/tldr/ng-config b/tldr/ng-config new file mode 100644 index 00000000..9917e521 --- /dev/null +++ b/tldr/ng-config @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ng config + +> Use JSON path notation (camelCase) to edit workspace or project configurations, such as build options. +> More information: . + +- Display all configuration values: + +`ng config` + +- Get a specific configuration value: + +`ng config projects.{{project_name}}.prefix` + +- Set a configuration value: + +`ng config projects.{{project_name}}.prefix {{value}}` + +- Disable CLI analytics globally: + +`ng config cli.analytics disabled {{[-g|--global]}}` + +- Set a global config value (caution: this affects all Angular projects): + +`ng config projects.{{project_name}}.prefix {{value}} {{[-g|--global]}}` diff --git a/tldr/ng-deploy b/tldr/ng-deploy new file mode 100644 index 00000000..151bff5a --- /dev/null +++ b/tldr/ng-deploy @@ -0,0 +1,22 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ng deploy + +> Invoke the deploy builder for a project in the workspace. +> Note: Deployment requires setup via `ng add`. +> More information: . + +- Deploy the default project: + +`ng deploy` + +- Deploy a specific project: + +`ng deploy {{project_name}}` + +- Deploy using a specific configuration: + +`ng deploy {{[-c|--configuration]}} {{development|production|...}}`