{"_id":"@aeranko/cli","_rev":"2-546261971dd9402163f8cec6b8c4e761","name":"@aeranko/cli","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@aeranko/cli","version":"0.1.0","keywords":["aeo","aeranko","ship","cli"],"author":{"name":"Aeranko"},"license":"MIT","_id":"@aeranko/cli@0.1.0","maintainers":[{"name":"fellofell","email":"fellofell@gmail.com"}],"homepage":"https://aeranko.com/ship","bugs":{"url":"https://github.com/aeranko/aeranko/issues"},"bin":{"aeranko":"dist/cli.js"},"dist":{"shasum":"009e4c00ceee8254878d209fe09b9f229f14ea9b","tarball":"https://registry.npmjs.org/@aeranko/cli/-/cli-0.1.0.tgz","fileCount":5,"integrity":"sha512-g3Tg715CLWz2Hw+N+46/qW1ceBizW7jkKSgv3UokJ3qjWq/PADemqwH/fP1NwGU6+YMdEWu7NQsK3PM2rv3cdw==","signatures":[{"sig":"MEQCICxa7l3DHXn5Vs7tE9Zs1PvaWrxdG5NplmxAHPnhb2N/AiA247U/8u9rTrW8AzFyorOyBXXAk2wzbub8GhHJifYn5Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16935},"type":"module","engines":{"node":">=18.17"},"gitHead":"bde7db724374bc4fa3eb219484ad4c07a264d015","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build && npm run test"},"_npmUser":{"name":"fellofell","email":"fellofell@gmail.com"},"repository":{"url":"git+https://github.com/aeranko/aeranko.git","type":"git","directory":"packages/cli"},"_npmVersion":"10.8.2","description":"CLI for Aeranko Ship. Installs @aeranko/ship and connects your app to Aeranko in one command.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"open":"^10.1.0","kleur":"^4.1.5","prompts":"^2.4.2","jsonwebtoken":"^9.0.3","@octokit/rest":"^22.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.9","typescript":"^5.9.0","@types/node":"^22.10.0","@types/prompts":"^2.4.9","@types/jsonwebtoken":"^9.0.10"},"_npmOperationalInternal":{"tmp":"tmp/cli_0.1.0_1776523107813_0.4942783725551454","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@aeranko/cli","version":"0.2.0","description":"CLI for Aeranko Ship. Installs @aeranko/ship and connects your app to Aeranko in one command.","license":"MIT","author":{"name":"Aeranko"},"homepage":"https://aeranko.com/ship","repository":{"type":"git","url":"git+https://github.com/aeranko/aeranko.git","directory":"packages/cli"},"keywords":["aeo","aeranko","ship","cli"],"type":"module","bin":{"aeranko":"dist/cli.js"},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","typecheck":"tsc --noEmit","prepublishOnly":"npm run build && npm run test"},"dependencies":{"@octokit/rest":"^22.0.1","jsonwebtoken":"^9.0.3","kleur":"^4.1.5","open":"^10.1.0","prompts":"^2.4.2","ts-morph":"^24.0.0"},"devDependencies":{"@aeranko/inject-core":"*","@types/jsonwebtoken":"^9.0.10","@types/node":"^22.10.0","@types/prompts":"^2.4.9","tsup":"^8.3.5","typescript":"^5.9.0","vitest":"^2.1.9"},"publishConfig":{"access":"public"},"engines":{"node":">=18.17"},"_id":"@aeranko/cli@0.2.0","gitHead":"f5529d9f80b74f2d672b923294331f36b74edf2d","bugs":{"url":"https://github.com/aeranko/aeranko/issues"},"_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-MrMCNzYRqGh+3xCGMnJt+UG+AQ/hB0lPich/I7fkJxOfvuoVc2OUdYqJzcaO+vN+r87QJiEu1ckEdA5B/OOeBA==","shasum":"b94816d3f4cf0aa5674a0821ae36000c398431f0","tarball":"https://registry.npmjs.org/@aeranko/cli/-/cli-0.2.0.tgz","fileCount":5,"unpackedSize":52328,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFUNtJAxR/3Jz66tE+ilh3NrimihW8wp0zyiiGcLT0WjAiEA7njaOIzuH3hXP1yFO+OhxLoIJLzMjBKuJQdCXOaIztM="}]},"_npmUser":{"name":"fellofell","email":"fellofell@gmail.com"},"directories":{},"maintainers":[{"name":"fellofell","email":"fellofell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.2.0_1776536352560_0.1183260536059183"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-18T14:38:27.756Z","modified":"2026-04-18T18:19:12.835Z","0.1.0":"2026-04-18T14:38:27.955Z","0.2.0":"2026-04-18T18:19:12.726Z"},"bugs":{"url":"https://github.com/aeranko/aeranko/issues"},"author":{"name":"Aeranko"},"license":"MIT","homepage":"https://aeranko.com/ship","keywords":["aeo","aeranko","ship","cli"],"repository":{"type":"git","url":"git+https://github.com/aeranko/aeranko.git","directory":"packages/cli"},"description":"CLI for Aeranko Ship. Installs @aeranko/ship and connects your app to Aeranko in one command.","maintainers":[{"name":"fellofell","email":"fellofell@gmail.com"}],"readme":"# @aeranko/cli\n\nOne-command AI-crawler tracking + AEO wiring for your Next.js or Express app.\n\n```bash\nnpx @aeranko/cli install\n```\n\nDetects your framework, opens the pairing page in your browser, installs\n`@aeranko/ship`, writes `.env.local`, wires up middleware, injects\n`<Ship />` + `aerankoMetadata` into your app-router layout, and creates\n`app/robots.ts`, `app/sitemap.ts`, and an `app/llms.txt/route.ts` from\nAeranko templates — all idempotent, so re-running never clobbers your\nedits.\n\n## Commands\n\n| Command                                       | Purpose                                           |\n| --------------------------------------------- | ------------------------------------------------- |\n| `install`                                     | End-to-end setup in the current project           |\n| `login`                                       | Pair this machine with your Aeranko account      |\n| `doctor`                                      | Verify the install is healthy                     |\n| `logout`                                      | Remove pairing credentials from `~/.aeranko`      |\n| `sites list`                                  | List sites in your organization                   |\n| `sites add <domain> [--name <label>]`         | Add a new site                                    |\n| `sites remove <id\\|domain>`                   | Remove a site (requires confirmation; `--yes` to skip) |\n| `keys list --site=<id>`                       | List API keys for a site (prefix only; no plaintext) |\n| `keys rotate --site=<id> --key=<keyId>`       | Mint a replacement key; old key keeps working for 7 days |\n| `keys revoke --site=<id> --key=<keyId>`       | Immediately revoke a key                          |\n\nSee `aeranko <command> --help` for details.\n\n## Non-interactive install\n\nFor CI or scripted onboarding, pass `--yes` (or `--non-interactive`) to\ntake all install defaults:\n\n```bash\naeranko install --yes\n```\n\n## Key rotation\n\n`aeranko keys rotate` prints the new plaintext key EXACTLY once. Copy\nit immediately — it is never written to disk by the CLI. The old key\nremains valid for 7 days so you can update `.env.local` and your\nhosting provider's environment before any traffic starts failing.\n","readmeFilename":"README.md"}