mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 21:45:50 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/lzdiff
Normal file
12
tldr/lzdiff
Normal 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
37
tldr/ng-update
Normal 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`
|
||||
@@ -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`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user