{"_id":"@alliedspot/cli","name":"@alliedspot/cli","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@alliedspot/cli","version":"0.1.0","description":"Work with an Allied Spot workspace from a terminal: edit a site's files in your own editor, watch webhook deliveries, and script changes.","license":"MIT","type":"module","bin":{"alliedspot":"dist/cli.cjs","asp":"dist/cli.cjs"},"engines":{"node":">=20"},"keywords":["alliedspot","cli","crm","webhooks"],"scripts":{"build":"node build.mjs","test":"vitest run","typecheck":"tsc --noEmit","prepublishOnly":"npm run typecheck && npm run test && npm run build"},"devDependencies":{"esbuild":"^0.25.0","typescript":"^5.6.0","vitest":"^4.0.0","@types/node":"^20.19.0"},"repository":{"type":"git","url":"git+https://github.com/alliedspot/allied-spot-cli.git"},"homepage":"https://github.com/alliedspot/allied-spot-cli#readme","bugs":{"url":"https://github.com/alliedspot/allied-spot-cli/issues"},"gitHead":"88a47fb0cf3a0fbcab3d008588f0fd9c710b9a8b","_id":"@alliedspot/cli@0.1.0","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-GRmtUbDxeQta1PH4ErDEagZQXEfRL08LqVpSvxAgad8Xmjf6kHCbUbUK+clogHVVeZ4Rc5VPZw7dYNxAtgDrLg==","shasum":"03c446a068fcbacb69751b3401a37a25fbf85f7a","tarball":"https://registry.npmjs.org/@alliedspot/cli/-/cli-0.1.0.tgz","fileCount":5,"unpackedSize":40738,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCwQC38L9t64ZP/1l4hPBUQdDHalVfxpmOtLpbed/wnFQIhALsrtUeufE9Ey/CD3wMpPGaqMIzrSgzBkEgRVPpyKdp3"}]},"_npmUser":{"name":"alliedspot","email":"alliedspot@gmail.com"},"directories":{},"maintainers":[{"name":"alliedspot","email":"alliedspot@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.0_1787283632630_0.9974233457388473"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-21T03:40:32.426Z","0.1.0":"2026-08-21T03:40:32.822Z","modified":"2026-08-21T03:40:33.048Z"},"maintainers":[{"name":"alliedspot","email":"alliedspot@gmail.com"}],"description":"Work with an Allied Spot workspace from a terminal: edit a site's files in your own editor, watch webhook deliveries, and script changes.","homepage":"https://github.com/alliedspot/allied-spot-cli#readme","keywords":["alliedspot","cli","crm","webhooks"],"repository":{"type":"git","url":"git+https://github.com/alliedspot/allied-spot-cli.git"},"bugs":{"url":"https://github.com/alliedspot/allied-spot-cli/issues"},"license":"MIT","readme":"# Allied Spot CLI\r\n\r\nWork with an Allied Spot workspace from a terminal: pull a site's files, edit\r\nthem in your own editor, push them back, watch webhook deliveries arrive, and\r\nread or write CRM records.\r\n\r\nInstalled as `alliedspot`, with `asp` as a shorter alias.\r\n\r\n> Not `as`. That is the GNU assembler on any machine with binutils on PATH, and\r\n> the collision is silent: the shell resolves whichever comes first, so the CLI\r\n> would look broken rather than shadowed.\r\n\r\n## Quick start\r\n\r\n```bash\r\nalliedspot auth --base-url https://portal.youragency.com\r\n```\r\n\r\nUse the address you use in the browser, including an agency's own domain.\r\nNothing is pinned to one host, so a white-label domain is the normal case.\r\n\r\n```bash\r\nalliedspot sites list\r\nalliedspot sites pull site_abc123 ./site\r\n# edit ./site in your editor\r\nalliedspot sites push ./site\r\n```\r\n\r\n`push` stops and names the files if someone changed them in the app since you\r\npulled, rather than overwriting their work. `--force` overrides it.\r\n\r\n## Reading records needs no key; writing one does\r\n\r\nContacts, deals and tasks read fine with the sign in you already have. Creating\r\nor changing one needs an `ap_` API key, because a signed in app's writes are\r\nmeant to pass through approval and these endpoints execute immediately:\r\n\r\n```bash\r\nalliedspot auth --key --base-url https://portal.youragency.com\r\n```\r\n\r\n## When something does not work\r\n\r\n```bash\r\nalliedspot doctor\r\n```\r\n\r\nIt runs every check rather than stopping at the first failure, and names the\r\ncauses that are hard to guess from outside, including the one the CLI cannot\r\nfix: the agency that manages a workspace can switch API access off.\r\n\r\n## Full documentation\r\n\r\nSee [docs/COMMANDS.md](docs/COMMANDS.md) for every command, the file sync\r\nrules, CI recipes and exit codes.\r\n","readmeFilename":"README.md","_rev":"1-76410d425ead647b091d78b2f0ec21c4"}