mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 12:42:31 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# 2to3
|
||||
|
||||
> Automated Python 2 to 3 code conversion.
|
||||
> More information: <https://docs.python.org/3/library/2to3.html>.
|
||||
> This module has been deprecated since 3.11 and has been removed since 3.13.
|
||||
> For reference, see: <https://github.com/python/cpython/blob/8d42e2d915c3096e7eac1c649751d1da567bb7c3/Doc/whatsnew/3.13.rst?plain=1#L188>.
|
||||
> More information: <https://manned.org/2to3>.
|
||||
|
||||
- Display the changes that would be performed without performing them (dry-run):
|
||||
|
||||
|
||||
13
tldr/crane-cp
Normal file
13
tldr/crane-cp
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# crane cp
|
||||
|
||||
> This command is an alias of `crane copy`.
|
||||
> More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_copy.md>.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr crane copy`
|
||||
37
tldr/npm-token
Normal file
37
tldr/npm-token
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# npm token
|
||||
|
||||
> Manage and generate authentication tokens for the npm registry.
|
||||
> More information: <https://docs.npmjs.com/cli/commands/npm-token>.
|
||||
|
||||
- Create a new authentication token:
|
||||
|
||||
`npm token create`
|
||||
|
||||
- List all tokens associated with an account:
|
||||
|
||||
`npm token list`
|
||||
|
||||
- Delete a specific token using its token ID:
|
||||
|
||||
`npm token revoke {{token_id}}`
|
||||
|
||||
- Create a token with read-only access:
|
||||
|
||||
`npm token create --read-only`
|
||||
|
||||
- Create a token with publish access:
|
||||
|
||||
`npm token create --publish`
|
||||
|
||||
- Automatically configure an npm token in your global .npmrc file when you log in:
|
||||
|
||||
`npm login`
|
||||
|
||||
- Remove a token from the global configuration:
|
||||
|
||||
`npm token revoke {{token_id}}`
|
||||
21
tldr/zapier-push
Normal file
21
tldr/zapier-push
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zapier push
|
||||
|
||||
> Build and upload a Zapier integration.
|
||||
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#push>.
|
||||
|
||||
- Push an integration to Zapier:
|
||||
|
||||
`zapier push`
|
||||
|
||||
- Disable smart file inclusion (will only include files required by `index.js`):
|
||||
|
||||
`zapier push --disable-dependency-detection`
|
||||
|
||||
- Show extra debugging output:
|
||||
|
||||
`zapier push {{-d|--debug}}`
|
||||
Reference in New Issue
Block a user