1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00
immich/cli
Ben McCann 9c7dee8551
chore: migrate CLI to ESM and vitest (#6777)
* chore: migrate CLI to ESM and vitest

* fix lint

* update github workflow

* format
2024-01-30 18:23:33 -05:00
..
src chore: migrate CLI to ESM and vitest (#6777) 2024-01-30 18:23:33 -05:00
test chore: migrate CLI to ESM and vitest (#6777) 2024-01-30 18:23:33 -05:00
.editorconfig feat(cli) Add new CLI (#3066) 2023-07-06 09:37:47 -05:00
.eslintignore feat(cli) Add new CLI (#3066) 2023-07-06 09:37:47 -05:00
.eslintrc.cjs chore: migrate CLI to ESM and vitest (#6777) 2024-01-30 18:23:33 -05:00
.gitignore test(cli): e2e testing (#5101) 2023-12-18 20:29:26 -06:00
.npmignore test(cli): e2e testing (#5101) 2023-12-18 20:29:26 -06:00
.prettierignore refactor: open api (#6334) 2024-01-12 07:36:27 -05:00
.prettierrc feat(cli) Add new CLI (#3066) 2023-07-06 09:37:47 -05:00
Dockerfile chore(deps): update base-image to v20240130 (major) (#6756) 2024-01-30 09:24:44 -06:00
LICENSE chore(cli): push to npm (#5168) 2023-11-20 14:04:20 +01:00
package-lock.json chore: migrate CLI to ESM and vitest (#6777) 2024-01-30 18:23:33 -05:00
package.json chore: migrate CLI to ESM and vitest (#6777) 2024-01-30 18:23:33 -05:00
README.md docs: remove old CLI first (#5163) 2023-11-19 16:41:42 -06:00
testSetup.js feat(cli) Add new CLI (#3066) 2023-07-06 09:37:47 -05:00
tsconfig.build.json feat(cli): add build script and unify tests (#3369) 2023-07-21 13:10:01 -05:00
tsconfig.json chore: migrate CLI to ESM and vitest (#6777) 2024-01-30 18:23:33 -05:00
vitest.config.ts chore: migrate CLI to ESM and vitest (#6777) 2024-01-30 18:23:33 -05:00

A command-line interface for interfacing with the self-hosted photo manager Immich.

Please see the Immich CLI documentation.

For developers

To run the Immich CLI from source, run the following in the cli folder:

$ npm run build
$ ts-node .

You'll need ts-node, the easiest way to install it is to use npm:

$ npm i -g ts-node

You can also build and install the CLI using

$ npm run build
$ npm install -g .