Update cheatsheets

This commit is contained in:
ivuorinen
2024-11-18 00:19:01 +00:00
parent 61ecbcc353
commit c79fa4e56c
4 changed files with 9 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
`img2pdf {{path/to/file.gif}} --first-frame-only --output {{path/to/file.pdf}}`
- Auto orient the image, use a specific page size in landscape mode, and set a border of specific sizes horizontally and vertically:
- Auto orient the image, use a specific page size in landscape mode, and set a border of specific sizes horizontally and vertically:
`img2pdf {{path/to/image.ext}} --auto-orient --pagesize {{A4^T}} --border {{2cm}}:{{5.1cm}} --output {{path/to/file.pdf}}`

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create a squashfs filesystem from a tar archive.
> More information: <https://manned.org/sqfstar>.
- Create a squashfs filesystem (compressed using `gzip` by default) from an uncompressed tar archive:
- Create a squashfs filesystem (compressed using `gzip` by default) from an uncompressed tar archive:
`sqfstar {{filesystem.squashfs}} < {{archive.tar}}`

View File

@@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git
---
# npm login
> Login to a registry user account.
> Log in to a registry user account.
> See also: `npm logout` for logging out.
> More information: <https://docs.npmjs.com/cli/commands/npm-login>.
- Login to a registry user account and save the credentials to the `.npmrc` file:
- Log in to a registry user account and save the credentials to the `.npmrc` file:
`npm login`
- Login using a custom registry:
- Log in using a custom registry:
`npm login --registry={{registry_url}}`
- Login using a specific authentication strategy:
- Log in using a specific authentication strategy:
`npm login --auth-type={{legacy|web}}`

View File

@@ -5,14 +5,14 @@ source: https://github.com/tldr-pages/tldr.git
---
# npm logout
> Logout of the registry user account.
> Log out of the registry user account.
> See also: `npm login` for logging in.
> More information: <https://docs.npmjs.com/cli/commands/npm-logout>.
- Logout of the registry user account:
- Log out of the registry user account:
`npm logout`
- Logout using a custom registry:
- Log out using a custom registry:
`npm logout --registry={{registry_url}}`