From 90700a64582272f72c35693d4f4c68ac8d87d08f Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Fri, 18 Oct 2024 00:17:05 +0000 Subject: [PATCH] Update cheatsheets --- tldr/2to3 | 4 +++- tldr/crane-cp | 13 +++++++++++++ tldr/npm-token | 37 +++++++++++++++++++++++++++++++++++++ tldr/zapier-push | 21 +++++++++++++++++++++ 4 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 tldr/crane-cp create mode 100644 tldr/npm-token create mode 100644 tldr/zapier-push diff --git a/tldr/2to3 b/tldr/2to3 index 2893b024..01cff661 100644 --- a/tldr/2to3 +++ b/tldr/2to3 @@ -6,7 +6,9 @@ source: https://github.com/tldr-pages/tldr.git # 2to3 > Automated Python 2 to 3 code conversion. -> More information: . +> This module has been deprecated since 3.11 and has been removed since 3.13. +> For reference, see: . +> More information: . - Display the changes that would be performed without performing them (dry-run): diff --git a/tldr/crane-cp b/tldr/crane-cp new file mode 100644 index 00000000..47459aed --- /dev/null +++ b/tldr/crane-cp @@ -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: . + +- View documentation for the original command: + +`tldr crane copy` diff --git a/tldr/npm-token b/tldr/npm-token new file mode 100644 index 00000000..9ca81875 --- /dev/null +++ b/tldr/npm-token @@ -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: . + +- 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}}` diff --git a/tldr/zapier-push b/tldr/zapier-push new file mode 100644 index 00000000..fc859ed7 --- /dev/null +++ b/tldr/zapier-push @@ -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: . + +- 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}}`