Rename get-local-path subcommand to get-path
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user