Rename get-local-path subcommand to get-path

This commit is contained in:
Jan Bader
2026-07-20 20:30:36 +02:00
parent eda8ba9aab
commit aaf7be0b90
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -131,10 +131,10 @@ Mount options:
Resolve a Docspell item ID or web URL to the local mounted path:
```bash
docspell-cli get-local-path <item-id-or-web-url>
docspell-cli get-path <item-id-or-web-url>
```
`get-local-path` automatically starts the configured mount in the background if it is not mounted yet. If an existing mount is stale, the tool attempts to unmount it and start a fresh one.
`get-path` automatically starts the configured mount in the background if it is not mounted yet. If an existing mount is stale, the tool attempts to unmount it and start a fresh one.
Resolve a local mounted path, item ID, or item URL to the Docspell web URL:
@@ -145,7 +145,7 @@ docspell-cli get-url <local-mounted-path-or-item-id>
Examples:
```bash
docspell-cli get-local-path https://docspell.example.com/app/item/abc123
docspell-cli get-path https://docspell.example.com/app/item/abc123
docspell-cli get-url ~/mnt/docspell/Invoices/2026/07/example.pdf
docspell-cli get-url abc123
```