mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 02:39:03 -04: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
					
				| @ -55,14 +55,17 @@ 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: | ||||||
|  |                                       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 |   -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 |  | ||||||
|   login [url] [key]  Login using an API key |  | ||||||
|   logout                              Remove stored credentials |   logout                              Remove stored credentials | ||||||
|  |   server-info                         Display server information | ||||||
|  |   upload [options] [paths...]         Upload assets | ||||||
|   help [command]                      display help for command |   help [command]                      display help for command | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| @ -71,7 +74,7 @@ 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 | ||||||
| 
 | 
 | ||||||
| @ -80,12 +83,13 @@ Arguments: | |||||||
| 
 | 
 | ||||||
| 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) | ||||||
|  |   -c, --concurrency <number>  Number of assets to upload at the same time (default: 4, env: IMMICH_UPLOAD_CONCURRENCY) | ||||||
|   --delete                    Delete local assets after upload (env: IMMICH_DELETE_ASSETS) |   --delete                    Delete local assets after upload (env: IMMICH_DELETE_ASSETS) | ||||||
|   --help                      display help for command |   --help                      display help for command | ||||||
| ``` | ``` | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user