Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-26 00:21:49 +00:00
parent f59fe2277e
commit 8270b3f19b
3 changed files with 50 additions and 1 deletions

12
tldr/lzdiff Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# lzdiff
> This command is an alias of `xzdiff`.
- View documentation for the original command:
`tldr xzdiff`

37
tldr/ng-update Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ng update
> Update an Angular workspace and its dependencies.
> More information: <https://angular.dev/cli/update>.
- Update all dependencies in the workspace:
`ng update`
- Update a specific package:
`ng update {{package}}`
- Update multiple packages:
`ng update {{package1 package2 ...}}`
- Ignore peer dependency version mismatches:
`ng update {{package}} --force`
- Allow updating when the repository contains modified or untracked files:
`ng update {{package}} --allow-dirty`
- Update to prerelease versions, including beta and release candidates:
`ng update {{package}} --next`
- Display additional details about internal operations:
`ng update {{package}} --verbose`

View File

@@ -34,7 +34,7 @@ source: https://github.com/tldr-pages/tldr.git
- Download 4 files simultaneously from a text file containing links showing progress:
`parallel {{[-j|--jobs]}} 4 --bar --eta wget {{[-q|--quote]}} {} :::: {{path/to/links.txt}}`
`parallel {{[-j|--jobs]}} 4 --bar --eta curl {{[-sO|--silent --remote-name]}} {} :::: {{path/to/links.txt}}`
- Print the jobs which `parallel` is running in `stderr`: