{"_id":"@0code/cli","_rev":"2-cf6df5ce79b332f8bb5f0ca640ecd00a","name":"@0code/cli","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@0code/cli","version":"1.0.0","keywords":["upcode","0code","cli","photo-management"],"license":"GNU Affero General Public License version 3","_id":"@0code/cli@1.0.0","maintainers":[{"name":"oggynjack","email":"desigamers003@gmail.com"}],"homepage":"https://github.com/oggynjack/0code-image-hosting#readme","bugs":{"url":"https://github.com/oggynjack/0code-image-hosting/issues"},"bin":{"upcode":"bin/upcode","upcode-cli":"bin/upcode"},"dist":{"shasum":"65616cb698d9928c67df1b2a14a9e165a4805c01","tarball":"https://registry.npmjs.org/@0code/cli/-/cli-1.0.0.tgz","fileCount":5,"integrity":"sha512-quODZA+MzOc56hIzIoC5v0ymf0xe7xogmzapFJoB2HSaFOELB8vIdRrljcsaOgRFdH2DVuFGPDV8gOgEecfjJQ==","signatures":[{"sig":"MEQCIEvC7blYFUsmd9D+Y1zj+6Tq1rYWFqF9yRSMGuh1p+gSAiAgEZ+ixelbwUkJbrIHVIPp2Nktmbchu4JlPbPfr6QGOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":715508},"type":"module","volta":{"node":"22.20.0"},"engines":{"node":">=20.0.0"},"exports":"./dist/index.js","gitHead":"b2717fbc9b0290e21b8ce615f5af2a8d929d44ac","scripts":{"lint":"eslint \"src/**/*.ts\" --max-warnings 0","test":"vitest","build":"vite build","check":"tsc --noEmit","format":"prettier --check .","prepack":"npm run build","lint:fix":"npm run lint -- --fix","test:cov":"vitest --coverage","build:dev":"vite build --sourcemap true","format:fix":"prettier --write ."},"_npmUser":{"name":"oggynjack","email":"desigamers003@gmail.com"},"repository":{"url":"git+https://github.com/oggynjack/0code-image-hosting.git","type":"git","directory":"cli"},"_npmVersion":"10.9.3","description":"Command Line Interface (CLI) for UpCode by 0Code","directories":{},"_nodeVersion":"22.20.0","dependencies":{"fastq":"^1.17.1","chokidar":"^4.0.3","fast-glob":"^3.3.2","lodash-es":"^4.17.21","micromatch":"^4.0.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.0","yaml":"^2.3.1","eslint":"^9.14.0","vitest":"^3.0.0","globals":"^16.0.0","mock-fs":"^5.2.0","prettier":"^3.2.5","byte-size":"^9.0.0","commander":"^12.0.0","@0code/sdk":"^1.0.2","@eslint/js":"^9.8.0","typescript":"^5.3.3","@types/node":"^22.18.8","cli-progress":"^3.12.0","@types/mock-fs":"^4.13.1","@types/byte-size":"^8.1.0","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","typescript-eslint":"^8.28.0","vitest-fetch-mock":"^0.4.0","@types/cli-progress":"^3.11.0","@vitest/coverage-v8":"^3.0.0","vite-tsconfig-paths":"^5.0.0","eslint-plugin-unicorn":"^60.0.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.1.3","prettier-plugin-organize-imports":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli_1.0.0_1760539691528_0.9323279263296911","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@0code/cli","version":"1.0.1","description":"Command Line Interface (CLI) for UpCode by 0Code","type":"module","exports":"./dist/index.js","bin":{"upcode":"bin/upcode","upcode-cli":"bin/upcode"},"license":"GNU Affero General Public License version 3","keywords":["upcode","0code","cli","photo-management"],"devDependencies":{"@eslint/js":"^9.8.0","@0code/sdk":"^1.0.2","@types/byte-size":"^8.1.0","@types/cli-progress":"^3.11.0","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","@types/mock-fs":"^4.13.1","@types/node":"^22.18.8","@vitest/coverage-v8":"^3.0.0","byte-size":"^9.0.0","cli-progress":"^3.12.0","commander":"^12.0.0","eslint":"^9.14.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.1.3","eslint-plugin-unicorn":"^60.0.0","globals":"^16.0.0","mock-fs":"^5.2.0","prettier":"^3.2.5","prettier-plugin-organize-imports":"^4.0.0","typescript":"^5.3.3","typescript-eslint":"^8.28.0","vite":"^7.0.0","vite-tsconfig-paths":"^5.0.0","vitest":"^3.0.0","vitest-fetch-mock":"^0.4.0","yaml":"^2.3.1"},"scripts":{"build":"vite build","build:dev":"vite build --sourcemap true","lint":"eslint \"src/**/*.ts\" --max-warnings 0","lint:fix":"npm run lint -- --fix","prepack":"npm run build","test":"vitest","test:cov":"vitest --coverage","format":"prettier --check .","format:fix":"prettier --write .","check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/oggynjack/0code-image-hosting.git","directory":"cli"},"engines":{"node":">=20.0.0"},"publishConfig":{"access":"public"},"dependencies":{"chokidar":"^4.0.3","fast-glob":"^3.3.2","fastq":"^1.17.1","lodash-es":"^4.17.21","micromatch":"^4.0.8"},"volta":{"node":"22.20.0"},"_id":"@0code/cli@1.0.1","gitHead":"541ced4e8451e449ba0ce882738e14032c17b966","bugs":{"url":"https://github.com/oggynjack/0code-image-hosting/issues"},"homepage":"https://github.com/oggynjack/0code-image-hosting#readme","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-7gCMMk2PLwiYJE2p/bCCjC5BAR6vrIOiZuJCXn+FPLZPodrlXtsj490N2RIeZXRIdaVj12+Y0Fp3ou/ujf2RJg==","shasum":"aaff7f3297f621a7cf90ee67ec817b845ad66930","tarball":"https://registry.npmjs.org/@0code/cli/-/cli-1.0.1.tgz","fileCount":5,"unpackedSize":684179,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCghLa1C75F8ZsPx3fGWYyH41GDf2YMOeecW3BjwQJwngIhAOjlBCx06soh+/Y98pz3dZx13PovFNOf+U5/WC7Gjsj/"}]},"_npmUser":{"name":"oggynjack","email":"desigamers003@gmail.com"},"directories":{},"maintainers":[{"name":"oggynjack","email":"desigamers003@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.0.1_1760620454958_0.6551071963281614"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-15T14:48:11.424Z","modified":"2025-10-16T13:14:15.381Z","1.0.0":"2025-10-15T14:48:11.760Z","1.0.1":"2025-10-16T13:14:15.177Z"},"bugs":{"url":"https://github.com/oggynjack/0code-image-hosting/issues"},"license":"GNU Affero General Public License version 3","homepage":"https://github.com/oggynjack/0code-image-hosting#readme","keywords":["upcode","0code","cli","photo-management"],"repository":{"type":"git","url":"git+https://github.com/oggynjack/0code-image-hosting.git","directory":"cli"},"description":"Command Line Interface (CLI) for UpCode by 0Code","maintainers":[{"name":"oggynjack","email":"desigamers003@gmail.com"}],"readme":"# UpCode CLI\n\nA command-line interface for managing your self-hosted UpCode photo and video library.\n\n**Made with ❤️ by OGGY at 0Code**\n\n## Installation\n\n```bash\nnpm install -g @0code/cli\n```\n\n## Usage\n\n```bash\nupcode --help\nupcode upload [options]\nupcode server-info\n```\n\n## Documentation\n\nFor full documentation, visit [https://upcode.0code.uk/docs](https://upcode.0code.uk/docs)\n\n# For developers\n\nBefore building the CLI, you must build the UpCode server and the SDK. To build the server run the following in the server folder:\n\n    $ pnpm install\n    $ pnpm run build\n\nThen, to build the open-api client run the following in the open-api folder:\n\n    $ ./bin/generate-open-api.sh\n\n## Run from build\n\nGo to the cli folder and build it:\n\n    $ pnpm install\n    $ pnpm run build\n    $ node dist/index.js\n\n## Run and Debug from source (VSCode)\n\nWith VScode you can run and debug the UpCode CLI. Go to the launch.json file, find the UpCode CLI config and change this with the command you need to debug\n\n`\"args\": [\"upload\", \"--help\"],`\n\nreplace that for the command of your choice.\n\n## Install from build\n\nYou can also build and install the CLI using\n\n    $ pnpm run build\n    $ pnpm install -g .\n****\n","readmeFilename":"README.md"}