diff --git a/tldr/bun-link b/tldr/bun-link index 251b7fd7..84b2c448 100644 --- a/tldr/bun-link +++ b/tldr/bun-link @@ -5,10 +5,11 @@ source: https://github.com/tldr-pages/tldr.git --- # bun link -> Bun command to register the current package as a linkable package. +> Register a local package as linkable or link a registered package into a project. +> See also: `bun unlink`. > More information: . -- Link the package globally: +- Link the current package globally: `bun link` @@ -16,18 +17,14 @@ source: https://github.com/tldr-pages/tldr.git `bun link {{package_name}}` -- Link directly from a local path: +- Link a package in a specific directory: -`bun link {{path/to/package}}` +`bun link --cwd {{path/to/package}}` -- Unlink a package: +- Perform a dry run without actually linking: -`bun unlink {{package_name}}` - -- Unlink a global package: - -`bun unlink --global {{package_name}}` +`bun link --dry-run` - Display help: -`bun link --help` +`bun link {{[-h|--help]}}` diff --git a/tldr/bun-unlink b/tldr/bun-unlink new file mode 100644 index 00000000..2abb4432 --- /dev/null +++ b/tldr/bun-unlink @@ -0,0 +1,26 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# bun unlink + +> Unregister the current directory as a linkable package. +> See also: `bun link`. +> More information: . + +- Unregister the current package globally: + +`bun unlink` + +- Unregister a package in a specific directory: + +`bun unlink --cwd {{path/to/package}}` + +- Perform a dry run without actually unregistering: + +`bun unlink --dry-run` + +- Display help: + +`bun unlink {{[-h|--help]}}` diff --git a/tldr/conda-compare b/tldr/conda-compare index 768063c5..7e4d8081 100644 --- a/tldr/conda-compare +++ b/tldr/conda-compare @@ -22,4 +22,4 @@ source: https://github.com/tldr-pages/tldr.git - Display help: -`conda create {{[-h|--help]}}` +`conda compare {{[-h|--help]}}` diff --git a/tldr/docker-container-stats b/tldr/docker-container-stats index 7c56e20f..2d13ac76 100644 --- a/tldr/docker-container-stats +++ b/tldr/docker-container-stats @@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git - Display a live stream for the statistics of all running containers: -`docker {{[stats|container statss}}` +`docker {{[stats|container stats]}}` - Display a live stream of statistics for one or more containers: -`docker {{[stats|container statss}} {{container1 container2 ...}}` +`docker {{[stats|container stats]}} {{container1 container2 ...}}` - Change the columns format to display container's CPU usage percentage: -`docker {{[stats|container statss}} --format "{{.Name}}: {{.CPUPerc}}"` +`docker {{[stats|container stats]}} --format "{{.Name}}: {{.CPUPerc}}"` - Display statistics for all containers (both running and stopped): -`docker {{[stats|container statss}} {{[-a|--all]}}` +`docker {{[stats|container stats]}} {{[-a|--all]}}` - Disable streaming stats and only pull the current stats: -`docker {{[stats|container statss}} --no-stream` +`docker {{[stats|container stats]}} --no-stream` diff --git a/tldr/doctl-databases-pool b/tldr/doctl-databases-pool index 8ec77b54..0d7b3ee4 100644 --- a/tldr/doctl-databases-pool +++ b/tldr/doctl-databases-pool @@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git - Delete a connection pool for a database: -`doctl {{[d|databases]}} {{[p|pool]}} {{[c|create]}} {{database_id}} {{pool_name}}` +`doctl {{[d|databases]}} {{[p|pool]}} {{[rm|delete]}} {{database_id}} {{pool_name}}` diff --git a/tldr/gacutil b/tldr/gacutil index 528f64cb..78cfccab 100644 --- a/tldr/gacutil +++ b/tldr/gacutil @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # gacutil -> Global Assembly Cache (CAG) management utility. +> Global Assembly Cache (GAC) management utility. > More information: . - Install the specified assembly into GAC: @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Uninstall the specified assembly from GAC: -`gacutil -i {{assembly_display_name}}` +`gacutil -u {{assembly_display_name}}` - Print the content of GAC: diff --git a/tldr/git-am b/tldr/git-am index ca1239d2..ced3b43d 100644 --- a/tldr/git-am +++ b/tldr/git-am @@ -15,7 +15,7 @@ source: https://github.com/tldr-pages/tldr.git - Apply and commit changes following a remote patch file: -`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git apply` +`curl {{[-L|--location]}} {{https://example.com/file.patch}} | git am` - Abort the process of applying a patch file: diff --git a/tldr/kubectl-plugin b/tldr/kubectl-plugin new file mode 100644 index 00000000..cf8bc813 --- /dev/null +++ b/tldr/kubectl-plugin @@ -0,0 +1,21 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# kubectl plugin + +> Manage kubectl plugins that extend the functionality of the command. +> More information: . + +- List all available plugins on the system `$PATH`: + +`kubectl plugin list` + +- List only the executable names of available plugins without full paths: + +`kubectl plugin list --name-only` + +- Display help: + +`kubectl plugin {{[-h|--help]}}` diff --git a/tldr/linux/lid.idutils b/tldr/linux/lid.idutils new file mode 100644 index 00000000..4ba2f27a --- /dev/null +++ b/tldr/linux/lid.idutils @@ -0,0 +1,34 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# lid + +> Query an ID database for tokens matching a pattern. +> Note: An ID database must first be built using `mkid`. +> More information: . + +- List all tokens and their file locations in the ID database: + +`lid` + +- Find files containing a specific token: + +`lid {{token}}` + +- Find tokens matching a pattern, ignoring case: + +`lid {{[-i|--ignore-case]}} {{token}}` + +- Find tokens matching an extended regular expression: + +`lid {{[-r|--regexp]}} "{{pattern}}"` + +- Output matching lines in grep-style format: + +`lid {{[-R|--result]}} grep {{token}}` + +- Find tokens that appear only once (useful for finding unused definitions): + +`lid {{[-F|--frequency]}} 1` diff --git a/tldr/linux/mkid b/tldr/linux/mkid new file mode 100644 index 00000000..6a076a27 --- /dev/null +++ b/tldr/linux/mkid @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# mkid + +> Build an ID database for use with `lid` and other idutils tools. +> More information: . + +- Build an ID database for the current directory: + +`mkid` + +- Build an ID database for specific directories: + +`mkid {{path/to/directory1 path/to/directory2 ...}}` + +- Build an ID database and save it to a specific file: + +`mkid {{[-o|--output]}} {{path/to/database.id}}` + +- Include only specific languages: + +`mkid {{[-i|--include]}} "{{language1 language2 ...}}"` + +- Exclude specific directories from indexing: + +`mkid {{[-p|--prune]}} {{path/to/excluded_directory}}` + +- Display statistics after building the database: + +`mkid {{[-s|--statistics]}}` diff --git a/tldr/podman-image b/tldr/podman-image index 6d45450f..4f14e40c 100644 --- a/tldr/podman-image +++ b/tldr/podman-image @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # podman image > Manage OCI/Docker container images. -> See also: `podman build`, `podman import`. +> See also: `podman build`, `podman import`, `podman pull`. > More information: . - List local container images: diff --git a/tldr/podman-image-pull b/tldr/podman-image-pull new file mode 100644 index 00000000..562387b5 --- /dev/null +++ b/tldr/podman-image-pull @@ -0,0 +1,12 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# podman image pull + +> This command is an alias of `podman pull`. + +- View documentation for the original command: + +`tldr podman pull` diff --git a/tldr/podman-pull b/tldr/podman-pull new file mode 100644 index 00000000..05324ca8 --- /dev/null +++ b/tldr/podman-pull @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# podman pull + +> Pull images from a container registry. +> More information: . + +- Pull a specific container image: + +`podman pull {{image}}:{{tag}}` + +- Pull a container image in quiet mode: + +`podman pull {{[-q|--quiet]}} {{image}}:{{tag}}` + +- Pull all tags of a container image: + +`podman pull {{[-a|--all-tags]}} {{image}}` + +- Pull a container image for a specific platform, e.g. `linux/arm64`: + +`podman pull --platform {{linux/arm64}} {{image}}:{{tag}}` + +- Pull a container image without TLS verification: + +`podman pull --tls-verify={{false}} {{image}}:{{tag}}` + +- Display help: + +`podman pull {{[-h|--help]}}` diff --git a/tldr/read b/tldr/read index 6af35776..4fbd583d 100644 --- a/tldr/read +++ b/tldr/read @@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git `read <<< "{{The surname is Bond}}" {{_ variable1 _ variable2}}` -- Do not let backslash (\) act as an escape character: +- Do not let backslash (`\`) act as an escape character: `read -r {{variable}}` diff --git a/tldr/supabase b/tldr/supabase new file mode 100644 index 00000000..6bd610a0 --- /dev/null +++ b/tldr/supabase @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# supabase + +> Develop, deploy, and manage Supabase projects locally and on the cloud. +> More information: . + +- Log in to Supabase using an access token: + +`supabase login` + +- Initialize a new Supabase project in the current directory: + +`supabase init` + +- Start the local Supabase development stack: + +`supabase start` + +- Stop the local Supabase development stack: + +`supabase stop` + +- Show the status of the local Supabase development stack: + +`supabase status` + +- Link the current directory to a remote Supabase project: + +`supabase link --project-ref {{project_id}}` + +- List all Supabase projects: + +`supabase projects list`