Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

41
kdeconnect-cli Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# kdeconnect-cli
> KDE's Connect CLI.
> More information: <https://kdeconnect.kde.org>.
- List all devices:
`kdeconnect-cli --list-devices`
- List available (paired and reachable) devices:
`kdeconnect-cli --list-available`
- Request pairing with a specific device, specifying its ID:
`kdeconnect-cli --pair --device {{device_id}}`
- Ring a device, specifying its name:
`kdeconnect-cli --ring --name "{{device_name}}"`
- Share an URL or file with a paired device, specifying its ID:
`kdeconnect-cli --share {{url|path/to/file}} --device {{device_id}}`
- Send an SMS with an optional attachment to a specific number:
`kdeconnect-cli --name "{{device_name}}" --send-sms "{{message}}" --destination {{phone_number}} --attachment {{path/to/file}}`
- Unlock a specific device:
`kdeconnect-cli --name "{{device_name}}" --unlock`
- Simulate a key press on a specific device:
`kdeconnect-cli --name "{{device_name}}" --send-keys {{key}}`