mirror of
https://github.com/immich-app/immich.git
synced 2025-01-28 00:59:18 -05:00
Update command-line-interface.md (#8213)
* Update command-line-interface.md Update documentation for CLI commands. * chore: update docs * chore: login-key => login --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
parent
a771c563ba
commit
c85563da50
1 changed files with 23 additions and 19 deletions
|
@ -54,16 +54,19 @@ Usage: immich [options] [command]
|
||||||
Command line interface for Immich
|
Command line interface for Immich
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-V, --version output the version number
|
-V, --version output the version number
|
||||||
-d, --config Configuration directory (env: IMMICH_CONFIG_DIR)
|
-d, --config-directory <directory> Configuration directory where auth.yml will be stored (default: "~/.config/immich/", env:
|
||||||
-h, --help display help for command
|
IMMICH_CONFIG_DIR)
|
||||||
|
-u, --url [url] Immich server URL (env: IMMICH_INSTANCE_URL)
|
||||||
|
-k, --key [key] Immich API key (env: IMMICH_API_KEY)
|
||||||
|
-h, --help display help for command
|
||||||
|
|
||||||
Commands:
|
Commands:
|
||||||
upload [options] [paths...] Upload assets
|
login|login-key <url> <key> Login using an API key
|
||||||
server-info Display server information
|
logout Remove stored credentials
|
||||||
login [url] [key] Login using an API key
|
server-info Display server information
|
||||||
logout Remove stored credentials
|
upload [options] [paths...] Upload assets
|
||||||
help [command] display help for command
|
help [command] display help for command
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
@ -71,23 +74,24 @@ Commands:
|
||||||
The upload command supports the following options:
|
The upload command supports the following options:
|
||||||
|
|
||||||
```
|
```
|
||||||
Usage: immich upload [options] [paths...]
|
Usage: immich upload [paths...] [options]
|
||||||
|
|
||||||
Upload assets
|
Upload assets
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
paths One or more paths to assets to be uploaded
|
paths One or more paths to assets to be uploaded
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-r, --recursive Recursive (default: false, env: IMMICH_RECURSIVE)
|
-r, --recursive Recursive (default: false, env: IMMICH_RECURSIVE)
|
||||||
-i, --ignore [paths...] Paths to ignore (env: IMMICH_IGNORE_PATHS)
|
-i, --ignore [paths...] Paths to ignore (default: [], env: IMMICH_IGNORE_PATHS)
|
||||||
-h, --skip-hash Don't hash files before upload (default: false, env: IMMICH_SKIP_HASH)
|
-h, --skip-hash Don't hash files before upload (default: false, env: IMMICH_SKIP_HASH)
|
||||||
-H, --include-hidden Include hidden folders (default: false, env: IMMICH_INCLUDE_HIDDEN)
|
-H, --include-hidden Include hidden folders (default: false, env: IMMICH_INCLUDE_HIDDEN)
|
||||||
-a, --album Automatically create albums based on folder name (default: false, env: IMMICH_AUTO_CREATE_ALBUM)
|
-a, --album Automatically create albums based on folder name (default: false, env: IMMICH_AUTO_CREATE_ALBUM)
|
||||||
-A, --album-name <name> Add all assets to specified album (env: IMMICH_ALBUM_NAME)
|
-A, --album-name <name> Add all assets to specified album (env: IMMICH_ALBUM_NAME)
|
||||||
-n, --dry-run Don't perform any actions, just show what will be done (default: false, env: IMMICH_DRY_RUN)
|
-n, --dry-run Don't perform any actions, just show what will be done (default: false, env: IMMICH_DRY_RUN)
|
||||||
--delete Delete local assets after upload (env: IMMICH_DELETE_ASSETS)
|
-c, --concurrency <number> Number of assets to upload at the same time (default: 4, env: IMMICH_UPLOAD_CONCURRENCY)
|
||||||
--help display help for command
|
--delete Delete local assets after upload (env: IMMICH_DELETE_ASSETS)
|
||||||
|
--help display help for command
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the above options can read from environment variables as well.
|
Note that the above options can read from environment variables as well.
|
||||||
|
|
Loading…
Add table
Reference in a new issue