mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 14:47:46 +00:00
Update cheatsheets
This commit is contained in:
18
tldr/disable
Normal file
18
tldr/disable
Normal file
@@ -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: <https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html>.
|
||||
|
||||
- Disable command:
|
||||
|
||||
`disable {{command1 command2 ...}}`
|
||||
|
||||
- List all disabled commands:
|
||||
|
||||
`disable`
|
||||
29
tldr/ng-config
Normal file
29
tldr/ng-config
Normal file
@@ -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: <https://angular.dev/cli/config>.
|
||||
|
||||
- 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]}}`
|
||||
22
tldr/ng-deploy
Normal file
22
tldr/ng-deploy
Normal file
@@ -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: <https://angular.dev/cli/deploy>.
|
||||
|
||||
- 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|...}}`
|
||||
Reference in New Issue
Block a user