Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-15 00:19:37 +00:00
parent 220486abce
commit d5421f7c01
42 changed files with 459 additions and 43 deletions

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Read from a specific coprocess `stdout`:
`read {{variable}} <&"${{{name[0]}}}"`
`read <&"${{{name[0]}}}" {{variable}}`
- Create a coprocess which repeatedly reads `stdin` and runs some commands on the input:
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
- Create and use a coprocess running `bc`:
`coproc BC { bc --mathlib; }; echo "1/3" >&"${BC[1]}"; read output <&"${BC[0]}"; echo "$output"`
`coproc BC { bc --mathlib; }; echo "1/3" >&"${BC[1]}"; read <&"${BC[0]}" output; echo "$output"`

View File

@@ -19,4 +19,4 @@ source: https://github.com/tldr-pages/tldr.git
- Pick all files from an archive (copy-[i]n), generating directories where needed, in verbose mode:
`cpio {{[-idv|--extract --make-directories --verbose]}} < {{archive.cpio}}`
`cpio < {{archive.cpio}} {{[-idv|--extract --make-directories --verbose]}}`

View File

@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
- Get the PPD file from `stdin`, showing detailed conformance testing results:
`cupstestppd -v - < {{path/to/file.ppd}}`
`cupstestppd < {{path/to/file.ppd}} -v -`
- Test all PPD files under the current directory, printing the names of each file that does not conform:

View File

@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
- Query all the DNS records (A, AAAA, CNAME, NS, TXT, SRV, PTR, MX, SOA, AXFR, CAA):
`dnsx -recon {{[-re|-resp]}} <<< {{example.com}}`
`dnsx <<< {{example.com}} -recon {{[-re|-resp]}}`
- Query a specific type of DNS record:

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Build a Docker image with no build context:
`docker build {{[-t|--tag]}} {{name:tag}} - < {{Dockerfile}}`
`docker < {{Dockerfile}} build {{[-t|--tag]}} {{name:tag}} -`
- Do not use the cache when building the image:

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Load a Docker image from `stdin`:
`docker load < {{path/to/image_file.tar}}`
`docker < {{path/to/image_file.tar}} load`
- Load a Docker image from a specific file:

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Bundle a JSX application from `stdin`:
`esbuild --bundle --outfile={{path/to/out.js}} < {{path/to/file.jsx}}`
`esbuild < {{path/to/file.jsx}} --bundle --outfile={{path/to/out.js}}`
- Bundle and minify a JSX application with source maps in `production` mode:

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Store a key-value pair, reading the value from a file:
`etcdctl put {{my/file}} < {{path/to/file.txt}}`
`etcdctl < {{path/to/file.txt}} put {{my/file}}`
- Save a snapshot of the etcd keystore:

View File

@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Run a pattern with input from a file:
`fabric {{[-p|--pattern]}} {{pattern_name}} < {{path/to/input_file}}`
`fabric < {{path/to/input_file}} {{[-p|--pattern]}} {{pattern_name}}`
- Run a pattern on a YouTube video URL:

View File

@@ -22,11 +22,11 @@ source: https://github.com/tldr-pages/tldr.git
- Move the duplicate files in a TXT file to a different directory:
`fclones move {{path/to/target_directory}} < {{path/to/file.txt}}`
`fclones < {{path/to/file.txt}} move {{path/to/target_directory}}`
- Perform a dry run for soft links in a TXT file without actually linking:
`fclones link --soft < {{path/to/file.txt}} --dry-run 2 > /dev/null`
`fclones < {{path/to/file.txt}} link --soft --dry-run 2 > /dev/null`
- Delete the newest duplicates from the current directory without storing them in a file:

33
tldr/fx Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# fx
> View and process JSON.
> More information: <https://fx.wtf/getting-started>.
- View a JSON file interactively:
`fx {{path/to/file.json}}`
- Pretty-print and colorize JSON from `stdin`:
`cat {{path/to/file.json}} | fx`
- Open JSON data from a URL:
`curl {{url}} | fx`
- Filter JSON using JavaScript-like expressions:
`fx {{path/to/file.json}} {{.name}}`
- Parse a TOML input file into JSON:
`fx --toml {{path/to/file.toml}}`
- Parse a YAML input file into JSON:
`fx --yaml {{path/to/file.yaml}}`

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Fetch all URLs of several domains from an input file, running multiple threads:
`gau --threads {{4}} < {{path/to/domains.txt}}`
`gau < {{path/to/domains.txt}} --threads {{4}}`
- Write [o]utput results to a file:

View File

@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Set a secret from a file for the current repository:
`gh secret set {{name}} < {{path/to/file}}`
`gh < {{path/to/file}} secret set {{name}}`
- Set an organization secret for specific repositories:

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Set a secret from a file for the current repository:
`gh secret set {{name}} < {{path/to/file}}`
`gh < {{path/to/file}} secret set {{name}}`
- Set a secret for a specific repository:

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Use pathnames, one per line, from `stdin`:
`git check-ignore --stdin < {{path/to/file_list}}`
`git < {{path/to/file_list}} check-ignore --stdin`
- Do not check the index (used to debug why paths were tracked and not ignored):

View File

@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Sort and build a tree from `stdin` (non-recursive `git ls-tree` output format is required):
`git mktree < {{path/to/tree.txt}}`
`git < {{path/to/tree.txt}} mktree`

View File

@@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git
- Convert all lines in a file into Git comments:
`git stripspace {{[-c|--comment-lines]}} < {{path/to/file}}`
`git < {{path/to/file}} stripspace {{[-c|--comment-lines]}}`

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Search for a pattern within a file:
`grep "{{search_pattern}}" {{path/to/file}}`
`grep "{{search_pattern}}" {{path/to/file1 path/to/file2 ...}}`
- Search for an exact string (disables `regex`es):

33
tldr/linux/eog Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# eog
> View and manage images.
> More information: <https://manned.org/eog>.
- Open an image file:
`eog {{path/to/image.png}}`
- Open multiple images:
`eog {{image1.jpg image2.png ...}}`
- Open images in fullscreen mode:
`eog --fullscreen {{path/to/image.jpg}}`
- Start a slideshow:
`eog --slide-show {{path/to/directory}}`
- Open a single image without image collection:
`eog --single-window {{path/to/image.jpg}}`
- Open an image in a new window instance:
`eog --new-instance {{path/to/image.jpg}}`

21
tldr/linux/lvrename Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# lvrename
> Rename a logical volume.
> More information: <https://manned.org/lvrename>.
- Rename an LV using full paths:
`sudo lvrename {{/dev/vg_name/old_lv}} {{/dev/vg_name/new_lv}}`
- Rename an LV using the volume group and names:
`sudo lvrename {{vg_name}} {{old_lv}} {{new_lv}}`
- Answer "yes" to any prompts:
`sudo lvrename {{[-y|--yes]}} {{/dev/vg_name/old_lv}} {{/dev/vg_name/new_lv}}`

View File

@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
- List all available packages:
`pacfile`
`pacfile {{path/to/file_or_directory}}`
- Compare database values to the file system:
`pacfile --check`
`pacfile {{path/to/file_or_directory}} --check`
- Display help:

View File

@@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git
- List configured sections:
`pacini --section-list`
`pacini {{path/to/file}} --section-list`
- Always show directive names even if only one directive is provided:
`pacini --verbose {{directive}}`
`pacini {{path/to/file}} --verbose`
- Display directives listed in a specific section:
`pacini --section {{section_name}}`
`pacini {{path/to/file}} --section {{section_name}}`
- Display help:

29
tldr/linux/systemctl-help Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl help
> Show the manual pages for one or more units, or for the unit a process belongs to (by PID).
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#help%20PATTERN%E2%80%A6%7CPID%E2%80%A6>.
- Show the manual page for a specific unit:
`systemctl help {{unit}}`
- Show the manual pages for multiple units:
`systemctl help {{unit1 unit2 ...}}`
- Show the manual page for a user unit:
`systemctl help {{unit}} --user`
- Show the manual page without a pager (all at once):
`systemctl help {{unit}} --no-pager`
- Show the manual page for the unit of a process by PID:
`systemctl help {{pid}}`

25
tldr/linux/systemctl-kill Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl kill
> Send a signal to one or more processes of a unit.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#kill%20PATTERN%E2%80%A6>.
- Send the `SIGTERM` signal to a unit to terminate it:
`systemctl kill {{unit}}`
- Send a specific signal to a unit:
`systemctl kill {{[-s|--signal]}} {{signal_number|signal_name}} {{unit}}`
- Send a `SIGHUP` signal to only the main process of a unit:
`systemctl kill {{[-s|--signal]}} SIGHUP --kill-whom main {{unit}}`
- List all available signals:
`systemctl kill {{[-s|--signal]}} help`

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Generate a public key from a private key:
`wg pubkey < {{path/to/private_key}} > {{path/to/public_key}}`
`wg < {{path/to/private_key}} pubkey > {{path/to/public_key}}`
- Generate a public and private key:

View File

@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Execute SQL statements from a script file:
`mariadb {{db_name}} < {{path/to/script.sql}} > {{path/to/output.tab}}`
`mariadb < {{path/to/script.sql}} {{db_name}} > {{path/to/output.tab}}`
- Check memory and open file usage at exit:

View File

@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Send the contents of a file (`data.txt`), by reading from `stdin` and send the entire input as a message and publish it to `sensors/temperature` topic:
`mosquitto_pub {{[-t|--topic]}} {{sensors/temperature}} {{[-s|--stdin-file]}} < {{data.txt}}`
`mosquitto_pub < {{data.txt}} {{[-t|--topic]}} {{sensors/temperature}} {{[-s|--stdin-file]}}`
- Read newline delimited data from `stdin` as a message and publish it to `sensors/temperature` topic:

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Display the certificate presented by an SSL/TLS server:
`openssl s_client -connect {{host}}:{{port}} </dev/null`
`openssl < /dev/null s_client -connect {{host}}:{{port}}`
- Set the Server Name Indicator (SNI) when connecting to the SSL/TLS server:
@@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display the complete certificate chain of an HTTPS server:
`openssl s_client -connect {{host}}:443 -showcerts </dev/null`
`openssl < /dev/null s_client -connect {{host}}:443 -showcerts`

View File

@@ -6,20 +6,17 @@ source: https://github.com/tldr-pages/tldr.git
# perl
> The Perl 5 language interpreter.
> More information: <https://www.perl.org>.
> See also: `perldoc`.
> More information: <https://perldoc.perl.org/perl>.
- Print lines from `stdin` [m/] matching `regex1` and case insensitive [/i] `regex2`:
- Print lines from `stdin` [m]atching `regex1` and case [i]nsensitive `regex2`:
`perl -n -e 'print if m/{{regex1}}/ and m/{{regex2}}/i'`
`perl -n -e 'print if m/regex1/ and m/regex2/i'`
- Say [-E] first match group, using a `regex`, ignoring space in `regex` [/x]:
- Say ([-E]) first match group, using a `regex`, ignoring space ([x]) in `regex`:
`perl -n -E 'say $1 if m/{{before}} ( {{group_regex}} ) {{after}}/x'`
- [-i]n-place, with backup, [s/] substitute all occurrence [/g] of `regex` with replacement:
- [i]n-place, with backup, [s]ubstitute all occurrence ([g]) of `regex` with a replacement:
`perl -i'.bak' -p -e 's/{{regex}}/{{replacement}}/g' {{path/to/files}}`
- Use perl's inline documentation, some pages also available via manual pages on Linux:
`perldoc perlrun ; perldoc module ; perldoc -f splice; perldoc -q perlfaq1`
`perl -i'.bak' -p -e 's/regex/{{replacement}}/g' {{path/to/files}}`

33
tldr/pg_checksums Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pg_checksums
> Enable, disable, or check data checksums in a PostgreSQL database cluster.
> More information: <https://www.postgresql.org/docs/current/app-pgchecksums.html>.
- Check data checksums in a database cluster:
`pg_checksums {{[-D|--pgdata]}} {{path/to/data}}`
- Enable data checksums in a database cluster:
`pg_checksums {{[-e|--enable]}} {{[-D|--pgdata]}} {{path/to/data}}`
- Disable data checksums in a database cluster:
`pg_checksums {{[-d|--disable]}} {{[-D|--pgdata]}} {{path/to/data}}`
- Check data checksums with verbose output:
`pg_checksums {{[-v|--verbose]}} {{[-D|--pgdata]}} {{path/to/data}}`
- Check data checksums showing progress:
`pg_checksums {{[-P|--progress]}} {{[-D|--pgdata]}} {{path/to/data}}`
- Display help:
`pg_checksums {{[-?|--help]}}`

37
tldr/pg_config Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pg_config
> Display information about the installed PostgreSQL version.
> More information: <https://www.postgresql.org/docs/current/app-pgconfig.html>.
- Show the directory where PostgreSQL binaries are installed:
`pg_config --bindir`
- Show the directory for library files:
`pg_config --libdir`
- Show the directory for include files (C headers):
`pg_config --includedir`
- Show the directory for shared data files:
`pg_config --sharedir`
- Show the directory for locale data:
`pg_config --localedir`
- Display help:
`pg_config {{[-?|--help]}}`
- Display version:
`pg_config --version`

29
tldr/pg_createsubscriber Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pg_createsubscriber
> Convert a physical replica into a new logical replica.
> More information: <https://www.postgresql.org/docs/current/app-pgcreatesubscriber.html>.
- Convert a physical replica to a logical replica for a specific database:
`pg_createsubscriber {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}`
- Perform a dry run without modifying the target directory:
`pg_createsubscriber {{[-n|--dry-run]}} {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}`
- Enable two-phase commit for the subscription:
`pg_createsubscriber {{[-T|--enable-two-phase]}} {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}`
- Convert with verbose output:
`pg_createsubscriber {{[-v|--verbose]}} {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}`
- Display help:
`pg_createsubscriber {{[-?|--help]}}`

33
tldr/pg_upgrade Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pg_upgrade
> Upgrade a PostgreSQL database cluster to a new major version.
> More information: <https://www.postgresql.org/docs/current/pgupgrade.html>.
- Check clusters before upgrading:
`pg_upgrade {{[-c|--check]}} {{[-b|--old-bindir]}} {{path/to/old_bin}} {{[-B|--new-bindir]}} {{path/to/new_bin}} {{[-d|--old-datadir]}} {{path/to/old_data}} {{[-D|--new-datadir]}} {{path/to/new_data}}`
- Perform the actual upgrade:
`pg_upgrade {{[-b|--old-bindir]}} {{path/to/old_bin}} {{[-B|--new-bindir]}} {{path/to/new_bin}} {{[-d|--old-datadir]}} {{path/to/old_data}} {{[-D|--new-datadir]}} {{path/to/new_data}}`
- Use multiple parallel jobs during the upgrade:
`pg_upgrade {{[-j|--jobs]}} {{njobs}} {{[-b|--old-bindir]}} {{path/to/old_bin}} {{[-B|--new-bindir]}} {{path/to/new_bin}} {{[-d|--old-datadir]}} {{path/to/old_data}} {{[-D|--new-datadir]}} {{path/to/new_data}}`
- Specify the old and new PostgreSQL ports:
`pg_upgrade {{[-p|--old-port]}} {{port}} {{[-P|--new-port]}} {{port}} {{[-b|--old-bindir]}} {{path/to/old_bin}} {{[-B|--new-bindir]}} {{path/to/new_bin}} {{[-d|--old-datadir]}} {{path/to/old_data}} {{[-D|--new-datadir]}} {{path/to/new_data}}`
- Use hard links instead of copying files to the new cluster:
`pg_upgrade {{[-k|--link]}} {{[-b|--old-bindir]}} {{path/to/old_bin}} {{[-B|--new-bindir]}} {{path/to/new_bin}} {{[-d|--old-datadir]}} {{path/to/old_data}} {{[-D|--new-datadir]}} {{path/to/new_data}}`
- Display help:
`pg_upgrade {{[-?|--help]}}`

View File

@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
- Assign multiple values to multiple variables:
`read {{_ variable1 _ variable2}} <<< "{{The surname is Bond}}"`
`read <<< "{{The surname is Bond}}" {{_ variable1 _ variable2}}`
- Do not let backslash (\) act as an escape character:

34
tldr/talosctl Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# talosctl
> Interact with Talos Linux, a minimal and immutable Kubernetes distribution.
> See also: `kubectl`.
> More information: <https://www.talos.dev/latest/reference/cli/>.
- Apply a config to a fresh node:
`talosctl apply-config {{[-i|--insecture]}} {{[-n|--nodes]}} {{control_plane_ip}} {{[-f|--file]}} {{path/to/control_plane.yaml}}`
- Bootstrap the `etcd` cluster on a node:
`talosctl bootstrap {{[-n|--nodes]}} {{node_ip}}`
- Edit an API resource:
`talosctl edit {{resource_to_edit}} {{[-n|--nodes]}} {{node_ip}}`
- Get resources:
`talosctl get {{resource_to_get}} {{[-n|--nodes]}} {{node_ip}}`
- Download the admin kube configuration from a node:
`talosctl kubeconfig {{[-n|--nodes]}} {{node_ip}}`
- Reset a node:
`talosctl reset {{[-n|--nodes]}} {{node_ip}}`

29
tldr/vet Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# vet
> Scan package manifests, directories, container images, or GitHub repositories to identify vulnerabilities, malicious packages, and enforce security policies using CEL expressions.
> More information: <https://safedep.github.io/vet/vet.html>.
- Scan the current directory:
`vet scan {{[-D|--directory]}} .`
- Scan the `package-lock.json` manifest file:
`vet scan {{[-M|--manifests]}} {{path/to/manifest_file}}`
- Scan with filter to fail on any critical vulnerability found in the codebase:
`vet scan {{[-D|--directory]}} {{path/to/directory}} --filter 'vulns.critical.exists(p, true)' --filter-fail`
- Scan any OSS package for malware:
`vet inspect malware --purl {{package_url}}`
- Start the MCP server for AI enabled security in code editors like Cursor:
`vet server mcp`

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original `curl` command:
`tldr curl -p common`
`tldr curl {{[-p|--platform]}} common`
- View documentation for PowerShell's `Invoke-WebRequest` command:

41
tldr/windows/powercfg Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# powercfg
> Configure power settings and manage power schemes.
> More information: <https://learn.microsoft.com/windows-hardware/design/device-experiences/powercfg-command-line-options>.
- Display the current power scheme:
`powercfg /getactivescheme`
- List all available power schemes:
`powercfg {{[/L|/list]}}`
- Set the active power scheme by its GUID:
`powercfg /setactive {{GUID}}`
- Turn off the display after a specific number of minutes on AC power:
`powercfg {{[/X|/change]}} monitor-timeout-ac {{minutes}}`
- Turn off the display after a specific number of minutes on battery power:
`powercfg {{[/X|/change]}} monitor-timeout-dc {{minutes}}`
- Put the system to sleep after a specific number of minutes on AC power:
`powercfg {{[/X|/change]}} standby-timeout-ac {{minutes}}`
- Generate a system sleep diagnostics report and save it to a file:
`powercfg /sleepstudy /output {{path o
eport.html}}`
- Generate a full power efficiency report and save it to a file:

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- View documentation for the original `wget` command:
`tldr wget -p common`
`tldr wget {{[-p|--platform]}} common`
- View documentation for PowerShell's `Invoke-WebRequest` command:

21
tldr/zapier-history Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zapier history
> List the history for a Zapier integration.
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#history>.
- List the history for an integration:
`zapier history`
- Display additional debug output:
`zapier history {{[-d|--debug]}}`
- List the history with a different output structure:
`zapier history {{[-f|--format]}} {{plain|json|raw|row|table}}`

21
tldr/zapier-login Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zapier login
> Log in to a Zapier account.
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#login>.
- Log in to a Zapier account:
`zapier login`
- Log in to a Zapier account with a deploy key for SSO:
`zapier login {{[-s|--sso]}}`
- Display additional debug output:
`zapier login {{[-d|--debug]}}`

View File

@@ -19,4 +19,4 @@ source: https://github.com/tldr-pages/tldr.git
- Add/Update comments in a Zip archive from a file:
`zipnote -w {{path/to/file.zip}} < {{path/to/file.txt}}`
`zipnote < {{path/to/file.txt}} -w {{path/to/file.zip}}`