Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-10 00:20:25 +00:00
parent 30f33b22c9
commit 52cb2c6c28
4 changed files with 64 additions and 2 deletions

21
tldr/linux/cage Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# cage
> Open an applications in a kiosk mode.
> More information: <https://github.com/cage-kiosk/cage/blob/master/cage.1.scd>.
- Run an application:
`cage {{application}}`
- Give the application arguments:
`cage -- {{application}} {{arguments}}`
- Display help:
`cage -h`

41
tldr/loft Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# loft
> Install and manage multi-tenant Kubernetes environments using virtual clusters.
> More information: <https://loft.sh/docs/cli/loft/>.
- Install or upgrade Loft in the current Kubernetes cluster:
`loft start`
- Authenticate to a remote Loft instance:
`loft login {{https://loft.example.com}}`
- Create a virtual cluster with a specific space and cluster:
`loft create vcluster {{vcluster_name}} {{[-s|--space]}} {{space_name}} {{[-c|--cluster]}} {{cluster_name}}`
- List all virtual clusters:
`loft list vclusters`
- Switch context to a specific virtual cluster:
`loft use vcluster {{vcluster_name}}`
- Delete a virtual cluster:
`loft delete vcluster {{vcluster_name}}`
- Show the current Loft username:
`loft vars username`
- Uninstall Loft from the cluster:
`loft uninstall`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mupdf
> A lightweight PDF, XPS, and E-book viewer.
> More information: <https://mupdf.readthedocs.io/en/latest/mupdf-command-line.html>.
> More information: <https://mupdf.readthedocs.io/en/latest/tools/mupdf-gl.html>.
- Open a PDF on the first page:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mutool
> Convert, query information and extract data from PDF files.
> More information: <https://mupdf.readthedocs.io/en/latest/mupdf-command-line.html#mupdf-command-line-mutool>.
> More information: <https://mupdf.readthedocs.io/en/latest/tools/mutool.html>.
- Convert a range of pages to PNGs (Note: `%nd` in the output placeholder must be replaced with a print modifier like `%d` or `%2d`):