Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-11 00:32:34 +00:00
parent d6d780c016
commit 084ddc68da
3 changed files with 69 additions and 0 deletions

18
tldr/disable Normal file
View 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
View 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
View 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|...}}`