{"_id":"@apiglot/cli","_rev":"5-aac6731b8376d0cc6298e1cf2df979fa","name":"@apiglot/cli","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@apiglot/cli","version":"0.0.1","keywords":[],"author":"","license":"ISC","_id":"@apiglot/cli@0.0.1","maintainers":[{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"}],"bin":{"apiglot":"index.js"},"dist":{"shasum":"869919e618959c31bcc6358808ddfaa6c6bbee7a","tarball":"https://registry.npmjs.org/@apiglot/cli/-/cli-0.0.1.tgz","fileCount":11,"integrity":"sha512-l6YkqwpnLgq4xB+26mTQzOT3JHXDPYv3bCM/sd93c7Vkiad/dJmGGQrveQrqXwAWh7M7R9nMhJfcLmcI3KaulA==","signatures":[{"sig":"MEQCIEbeX65RRf+Ahl42jJo7/p/eYUpJx1PigM0xXkglZFcsAiBgAHJrTB7Kcp1VCZRcpShelyr5sVj/teWVkzyM7+P2mg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36856},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"},"_npmVersion":"10.9.2","description":"The official CLI for Apiglot, with helpful commands to improve the i18n development experience.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"uuid":"^13.0.0","chalk":"^5.6.2","commander":"^14.0.2","@inquirer/prompts":"^8.2.0","i18next-resources-for-ts":"^2.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.18.0","_npmOperationalInternal":{"tmp":"tmp/cli_0.0.1_1774831786917_0.1063458149026606","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@apiglot/cli","version":"0.1.0","keywords":[],"author":"","license":"ISC","_id":"@apiglot/cli@0.1.0","maintainers":[{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"}],"bin":{"apiglot":"dist/main.js"},"dist":{"shasum":"2081b195707987a28b034b9274fc8f05bbd0500b","tarball":"https://registry.npmjs.org/@apiglot/cli/-/cli-0.1.0.tgz","fileCount":14,"integrity":"sha512-ABTwzZCPLQkMjIorcIp7fPjTs51RicelY11/nKtNE3J1kWk/aTypYl9tPIoelhodRMP/DOkqTH0nloUchixOwA==","signatures":[{"sig":"MEYCIQDk9SfSXrUWu7jwhHC3cDUWLHrgJ3j9oPxGovdWwd0lqQIhAKUp/ycHD7CgBqkooQ2YMqPnAd/2oWN4jQkM8Q1Y0IOC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51280},"main":"src/main.ts","type":"module","_from":"file:apiglot-cli-0.1.0.tgz","scripts":{"dev":"node ./src/main.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/main.ts --format esm --minify --clean","type-check":"tsc --noEmit"},"_npmUser":{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"},"_resolved":"/tmp/975bdba7dc6920fdfc2fd30c5f65cd41/apiglot-cli-0.1.0.tgz","_integrity":"sha512-ABTwzZCPLQkMjIorcIp7fPjTs51RicelY11/nKtNE3J1kWk/aTypYl9tPIoelhodRMP/DOkqTH0nloUchixOwA==","_npmVersion":"10.9.2","description":"The official CLI for Apiglot, with helpful commands to improve the i18n development experience.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"uuid":"^13.0.0","chalk":"^5.6.2","commander":"^14.0.2","@inquirer/prompts":"^8.2.0","i18next-resources-for-ts":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1779245720944_0.12287278831295434","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@apiglot/cli","version":"0.1.1","keywords":[],"author":"","license":"ISC","_id":"@apiglot/cli@0.1.1","maintainers":[{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"}],"bin":{"apiglot":"dist/main.js"},"dist":{"shasum":"a12ae5636bdd3f5fdd27e6ad108f185359cf2886","tarball":"https://registry.npmjs.org/@apiglot/cli/-/cli-0.1.1.tgz","fileCount":15,"integrity":"sha512-Y/W5+nhumCEsbd3JqISEwI5FwC0iY02wTzp6CJnpoX6/L5edJZ6ChW5YXLd0EHCYEbd5KRS9UcxQ289lsVC42g==","signatures":[{"sig":"MEUCIQDWtVPzGpY7It59FLzvZy/gNVpToJaM4YHV+lF82UcskwIgaR4n6KUpTzVZGG09dpfW1nGp4MwEJmgNWNovYT1n6vo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55719},"main":"src/main.ts","type":"module","_from":"file:apiglot-cli-0.1.1.tgz","scripts":{"dev":"node ./src/main.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/main.ts --format esm --minify --clean","type-check":"tsc --noEmit"},"_npmUser":{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"},"_resolved":"/tmp/00433d9d2e6307c63a3326f7589a3abc/apiglot-cli-0.1.1.tgz","_integrity":"sha512-Y/W5+nhumCEsbd3JqISEwI5FwC0iY02wTzp6CJnpoX6/L5edJZ6ChW5YXLd0EHCYEbd5KRS9UcxQ289lsVC42g==","_npmVersion":"10.9.2","description":"The official CLI for Apiglot, with helpful commands to improve the i18n development experience.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"uuid":"^13.0.0","chalk":"^5.6.2","commander":"^14.0.2","@inquirer/prompts":"^8.2.0","i18next-resources-for-ts":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.1_1779284773142_0.792079432112307","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@apiglot/cli","version":"0.1.2","keywords":[],"author":"","license":"ISC","_id":"@apiglot/cli@0.1.2","maintainers":[{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"}],"bin":{"apiglot":"dist/main.js"},"dist":{"shasum":"cb03db8d8946a48894405b6b01fbf441f4383986","tarball":"https://registry.npmjs.org/@apiglot/cli/-/cli-0.1.2.tgz","fileCount":15,"integrity":"sha512-+SXVnYOD/R+VeyQFPPnkHj0e9fOb1Pi932wVIIA5F8spvLP6xsYGvHHeMI35nDFLKAa/HiuJbNeCbmDy41oBiw==","signatures":[{"sig":"MEUCIQCAbn4pcfQU8NC6E4Pu4IyVgzTbtCV9h3X0yRwtrvxwCgIgQskZ9EHdn2peJic532glgsBmoPylHqICdWjN3BFDLQU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64611},"main":"src/main.ts","type":"module","_from":"file:apiglot-cli-0.1.2.tgz","scripts":{"dev":"node ./src/main.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsup src/main.ts --format esm --clean","type-check":"tsc --noEmit"},"_npmUser":{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"},"_resolved":"/tmp/da8cdac5b381b4fa2d5028d67d962445/apiglot-cli-0.1.2.tgz","_integrity":"sha512-+SXVnYOD/R+VeyQFPPnkHj0e9fOb1Pi932wVIIA5F8spvLP6xsYGvHHeMI35nDFLKAa/HiuJbNeCbmDy41oBiw==","_npmVersion":"10.9.2","description":"The official CLI for Apiglot, with helpful commands to improve the i18n development experience.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"uuid":"^13.0.0","chalk":"^5.6.2","commander":"^14.0.2","@inquirer/prompts":"^8.2.0","i18next-resources-for-ts":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","@types/node":"^25.9.1"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.2_1779284939699_0.039259255888882905","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@apiglot/cli","version":"0.2.0","description":"The official CLI for Apiglot, with helpful commands to improve the i18n development experience.","main":"src/main.ts","type":"module","keywords":[],"author":"","license":"ISC","bin":{"apiglot":"dist/main.js"},"dependencies":{"@inquirer/prompts":"^8.2.0","chalk":"^5.6.2","commander":"^14.0.2","i18next-resources-for-ts":"^2.0.0","uuid":"^13.0.0"},"devDependencies":{"@types/node":"^25.9.1","tsup":"^8.5.1","typescript":"^6.0.3"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","dev":"node ./src/main.ts","type-check":"tsc --noEmit","build":"tsup src/main.ts --format esm --clean"},"_id":"@apiglot/cli@0.2.0","_integrity":"sha512-eh26HJOjbM2HNlDbcXG6kBtYA74X9MAcVQJ+nfjueBR5bEiOqdezYQHATyl9+52YxUnMxalFXLHvaz+c6yBZGw==","_resolved":"/tmp/1d12926cd018189b7737dbf19e4fb9cd/apiglot-cli-0.2.0.tgz","_from":"file:apiglot-cli-0.2.0.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-eh26HJOjbM2HNlDbcXG6kBtYA74X9MAcVQJ+nfjueBR5bEiOqdezYQHATyl9+52YxUnMxalFXLHvaz+c6yBZGw==","shasum":"4a45a71be475438616aa38ea59456cc1862bbc08","tarball":"https://registry.npmjs.org/@apiglot/cli/-/cli-0.2.0.tgz","fileCount":17,"unpackedSize":70172,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDp92E48kewmoYJQVtdhVQqv1RZrKGNlYfvcqKl/E2tjAiEAwMVDgACOubt70OK0/BjO6NcMTFoIOafICgy80JAPdpA="}]},"_npmUser":{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"},"directories":{},"maintainers":[{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.2.0_1779387419267_0.6143045650038215"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-30T00:49:46.824Z","modified":"2026-05-21T18:16:59.615Z","0.0.1":"2026-03-30T00:49:47.087Z","0.1.0":"2026-05-20T02:55:21.125Z","0.1.1":"2026-05-20T13:46:13.301Z","0.1.2":"2026-05-20T13:48:59.843Z","0.2.0":"2026-05-21T18:16:59.464Z"},"license":"ISC","keywords":[],"description":"The official CLI for Apiglot, with helpful commands to improve the i18n development experience.","maintainers":[{"name":"edulco","email":"eduardo.rodriguez.dasilva@gmail.com"}],"readme":"# Apiglot CLI\n\nThe official CLI for Apiglot, with helpful commands to improve the i18n development experience.\n\n# Installation\n\nWe recommend installing the Apiglot CLI as a development dependency:\n\n```bash\npnpm add -D @apiglot/cli\n```\n\n# Quick start\n\n## `init`\n\nAfter installing the CLI, we recommend initializing its config file first. The `init` command will do that for you:\n\n```bash\npnpm apiglot init\n```\n\nThis command will prompt you for your Apiglot project ID and API key. You can generate API tokens in the Apiglot dashboard, on your project's settings page.\n\n## `json`\n\nThe `json` command lets you manage translation files. Currently, it can be used to download translation files for each target language in your project into local directories, so you can either bundle them with your app or serve them from your project's `public` directory:\n\n```bash\npnpm apiglot json pull\n```\n\n## `i18next`\n\nThe `i18next` command groups subcommands for projects using [i18next](https://www.i18next.com/).\n\n### `i18next types`\n\nGenerates TypeScript type definitions for your translation keys, so that calls like `t('some.key')` are type-checked against the keys actually defined in your Apiglot project.\n\n```bash\npnpm apiglot i18next types\n```\n\nBy default, the generated files are written to `./src/@types/`. You can override the output directory with the `-p`/`--path` option:\n\n```bash\npnpm apiglot i18next types --path ./src/types\n```\n\nThe command produces two files in the target directory:\n\n- `resources.d.ts` — types describing every namespace and its keys.\n- `i18next.d.ts` — module augmentation that wires those resources into `i18next`'s `CustomTypeOptions` (or into `@apiglot/solidjs/i18next` for SolidJS projects).\n\nOnce these files are picked up by your `tsconfig.json`, your editor and `tsc` will autocomplete and validate translation keys.\n","readmeFilename":"README.md"}