mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(cli): add version option (#5237)
* chore(cli): add version option * chore: update build path * fix: defer to package details for path to entrypoint --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
parent
55f7cf3ca9
commit
af1113bf9e
4 changed files with 5 additions and 4 deletions
|
|
@ -5,8 +5,9 @@ import Upload from './commands/upload';
|
|||
import ServerInfo from './commands/server-info';
|
||||
import LoginKey from './commands/login/key';
|
||||
import Logout from './commands/logout';
|
||||
import { version } from '../package.json';
|
||||
|
||||
program.name('immich').description('Immich command line interface');
|
||||
program.name('immich').description('Immich command line interface').version(version);
|
||||
|
||||
program
|
||||
.command('upload')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue