mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix: load env files for cli (#3503)
This commit is contained in:
parent
310fab526d
commit
2835919931
11 changed files with 10 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { bootstrap as cli } from './cli/immich';
|
||||
import { bootstrap as adminCli } from './admin-cli/main';
|
||||
import { bootstrap as immich } from './immich/main';
|
||||
import { bootstrap as microservices } from './microservices/main';
|
||||
|
||||
|
|
@ -14,8 +14,8 @@ function bootstrap() {
|
|||
return immich();
|
||||
case 'microservices':
|
||||
return microservices();
|
||||
case 'cli':
|
||||
return cli();
|
||||
case 'admin-cli':
|
||||
return adminCli();
|
||||
default:
|
||||
console.log(`Invalid app name: ${immichApp}. Expected one of immich|microservices|cli`);
|
||||
process.exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue