{"_id":"@artifact-garden/cli","name":"@artifact-garden/cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@artifact-garden/cli","version":"1.0.0","description":"Deploy artifacts to your garden — CLI for artifact.garden","type":"module","main":"index.js","bin":{"garden":"index.js"},"keywords":["static","hosting","deployment","cli","artifact","garden","website"],"author":{"name":"artifact.garden"},"license":"UNLICENSED","homepage":"https://artifact.garden","dependencies":{"open":"^10.1.0"},"engines":{"node":">=18.0.0"},"_id":"@artifact-garden/cli@1.0.0","gitHead":"3658abb47c4cf52dfbb40e38bc8ce1c1c20c3401","_nodeVersion":"24.4.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-D3cjnfc6tg145kO1oxYqpq5cqkG+vt24GQEWl+mKNIht2Ezep4inUvCoLds6v4AJpeSzqaOzu18GtoMuo7K2QA==","shasum":"3dc6e6f25bc7e9eb57c246279f982666a8de7c88","tarball":"https://registry.npmjs.org/@artifact-garden/cli/-/cli-1.0.0.tgz","fileCount":3,"unpackedSize":27388,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEKN+K8Ax/I+16m97CKY4mrFiBcXqvC+B63MsWdfhND4AiEAyNNxeUmLG+OqG9NBObj6CYuCRUInolkX7b9pSpofYCU="}]},"_npmUser":{"name":"kholbekj","email":"kholbekj@gmail.com"},"directories":{},"maintainers":[{"name":"kholbekj","email":"kholbekj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_1.0.0_1783079240046_0.6964405029324172"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-03T11:47:19.879Z","1.0.0":"2026-07-03T11:47:20.176Z","modified":"2026-07-03T11:47:20.416Z"},"maintainers":[{"name":"kholbekj","email":"kholbekj@gmail.com"}],"description":"Deploy artifacts to your garden — CLI for artifact.garden","homepage":"https://artifact.garden","keywords":["static","hosting","deployment","cli","artifact","garden","website"],"author":{"name":"artifact.garden"},"license":"UNLICENSED","readme":"# @artifact-garden/cli\n\nDeploy artifacts to your garden from the terminal.\n\n```bash\nnpm install -g @artifact-garden/cli\n\ngarden                    # deploy current directory, pick or create an artifact\ngarden ./dist             # deploy ./dist\ngarden -a spirals         # deploy straight to /spirals/\ngarden --clear-token      # forget stored authentication\n```\n\n## How it works\n\n- **Authentication**: the CLI opens your browser; you confirm once, and a\n  24-hour token is stored in `~/.artifact-garden/config`. For CI, set\n  `GARDEN_CLI_TOKEN` (your permanent API key also works).\n- **Target memory**: after an interactive deploy the CLI offers to write a\n  `.garden` file containing the artifact slug. Next time, `garden` deploys\n  straight there. Dotfiles are never uploaded, so `.garden` stays local.\n- **What gets uploaded**: everything in the directory except dotfiles and\n  anything matched by `.gitignore` (plus defaults like `node_modules`).\n\n## Development\n\n```bash\n# against a local artifact.garden server\ngarden --server http://localhost:4321\n```\n","readmeFilename":"README.md","_rev":"1-a7ccd711bdbcf961ada894528a1c3897"}