{"_id":"@akshatowo/artifacts","_rev":"9-d37ef5393e37a0569de50b15b6190e0e","name":"@akshatowo/artifacts","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.1":{"name":"@akshatowo/artifacts","version":"0.0.1","_id":"@akshatowo/artifacts@0.0.1","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"bin":{"artifacts":"dist/index.js"},"dist":{"shasum":"9856d6a54de04ec55778744cc17018ecc10b82d9","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.1.tgz","fileCount":3,"integrity":"sha512-p26NCvqokfyMdIPGBUn/iN4d+5+1+3/yzW3mvqzKlLD6UwD5EqMpzszMJRRpAvA35psy36wrtPDwvJ3dtLTzNg==","signatures":[{"sig":"MEUCIQCv/RVIVN2EDZaFqwaE2wfzNPgLu8fsJA3THXNjofc4JQIgKZscTsrnCM6QbwZ3UuQMaRrLK8iikq0r5EnXS9w6ppY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1055656},"type":"module","gitHead":"d27ec5aa54975e09738fa0b69920268bd4cdee2c","private":false,"scripts":{"build":"bun build ./src/index.ts --target=bun --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run build && bun run check-types"},"_npmUser":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"},"_npmVersion":"11.13.0","description":"CLI for publishing and managing Artifacts.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"open":"^11.0.0","effect":"catalog:","date-fns":"^4.4.0","better-auth":"catalog:","@effect/platform-bun":"catalog:"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/artifacts_0.0.1_1782555105614_0.6810716149218694","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@akshatowo/artifacts","version":"0.0.2","_id":"@akshatowo/artifacts@0.0.2","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"bin":{"artifacts":"dist/index.js"},"dist":{"shasum":"745de12b807e8c4d4b6d1b79767d8c55a9b4031b","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.2.tgz","fileCount":3,"integrity":"sha512-yNG5047/X6bH1b2IwHQqAxMoGFCRlI2j/fhDab5XQqnCg9Hhn75xMF0nan+JFUvzG/qOH2VoyPDWrYI7lbABbA==","signatures":[{"sig":"MEQCIAWpj6JBvNxzCr0iwM/O3etfB/2aHugQzqgwzP2DH9mDAiAq9Yj12dm4XupAB0U7Xua5H+ke25BU3js7GJnHKffzlw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1055763},"type":"module","gitHead":"95e0c8fbe449b94d69e8b3c27f7041ca0ceb3597","private":false,"scripts":{"build":"bun build ./src/index.ts --target=bun --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run build && bun run check-types"},"_npmUser":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"},"_npmVersion":"11.13.0","description":"CLI for publishing and managing Artifacts.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"open":"^11.0.0","effect":"4.0.0-beta.85","date-fns":"^4.4.0","better-auth":"^1.6.18","@effect/platform-bun":"4.0.0-beta.85"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/artifacts_0.0.2_1782555490375_0.29238380735727265","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@akshatowo/artifacts","version":"0.0.3","_id":"@akshatowo/artifacts@0.0.3","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"bin":{"artifacts":"dist/index.js"},"dist":{"shasum":"7a9bdca09af3a596538d809a0a312e50ad7135af","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.3.tgz","fileCount":3,"integrity":"sha512-xFBVV2C4ljxpwvCr5u5nmPUsl+S2KBmr/SmNFVVzzE25P702FA7KEQQTotonyUeAME97oFogCvGTwJzIzpW+tg==","signatures":[{"sig":"MEUCIGOiK6eATwMH6ig16A43A0QalKwOo1za0OIiX+39yLOAAiEAlYo5xMz+D35jKVBkBXqEdc8FzGmSOSSfaq7IcUxqgPo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":467252},"type":"module","gitHead":"95e0c8fbe449b94d69e8b3c27f7041ca0ceb3597","private":false,"scripts":{"build":"bun build ./src/index.ts --target=bun --production --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run build && bun run check-types"},"_npmUser":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"},"_npmVersion":"11.13.0","description":"CLI for publishing and managing Artifacts.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"open":"^11.0.0","effect":"4.0.0-beta.85","date-fns":"^4.4.0","better-auth":"^1.6.18","@effect/platform-bun":"4.0.0-beta.85"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/artifacts_0.0.3_1782556102109_0.617439784983701","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@akshatowo/artifacts","version":"0.0.4","_id":"@akshatowo/artifacts@0.0.4","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"bin":{"artifacts":"dist/index.js"},"dist":{"shasum":"0875f5b638556d26b49b585d0d39fdb08bf9280a","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.4.tgz","fileCount":3,"integrity":"sha512-pymL2qI7tvON4hIpUvG1b/pOFf4XTBo4rMYrZ+g2vrKQRAEQa6s9kwQJ0EKrTsQQxnPlxgiOT6mj7JPVraVCGQ==","signatures":[{"sig":"MEUCIFl14IfLELiylpxR2naUk8SnB7QnwlRpUw3p2evyZF60AiEAuMjkmMuk8R0nqePvoLGyGmxfxWp6DDttwQ30BBSE3Ak=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":471154},"type":"module","gitHead":"5b317a3275e9554a66b94dfa21e6a02af662efe6","private":false,"scripts":{"build":"bun build ./src/index.ts --target=bun --production --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run build && bun run check-types"},"_npmUser":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"},"_npmVersion":"11.13.0","description":"CLI for publishing and managing Artifacts.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"open":"^11.0.0","effect":"4.0.0-beta.85","date-fns":"^4.4.0","better-auth":"^1.6.18","@effect/platform-bun":"4.0.0-beta.85"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/artifacts_0.0.4_1782557997831_0.10298340890263535","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@akshatowo/artifacts","version":"0.0.5","_id":"@akshatowo/artifacts@0.0.5","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"bin":{"artifacts":"dist/index.js"},"dist":{"shasum":"3bdade607c0575e7c07f758950acc1befdece9b6","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.5.tgz","fileCount":5,"integrity":"sha512-hhbdm3GBd2NstCWKeYcpiwq2JoyNQRavlg1wI7XfqYftzPDaQbaj0xqaihI9uLDuW5Cfy+OB6/GI6zVAKZDFAw==","signatures":[{"sig":"MEYCIQD/h9/Fi7fsJDO+F1xPhn30VsQEoq2JLGXWaQecly2nCAIhAOoJ3EyQlVT9DkeZnqxMYUu8RydSsHtYZ+oWNIoH1zkh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":489137},"type":"module","gitHead":"0114a573486c532c2a5721b31b19d09e7e3c35ff","private":false,"scripts":{"test":"bun test","build":"bun build ./src/index.ts --target=bun --production --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run test && bun run build && bun run check-types"},"_npmUser":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"},"_npmVersion":"11.13.0","description":"CLI for publishing and managing Artifacts.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"open":"^11.0.0","chalk":"^5.6.2","effect":"4.0.0-beta.85","date-fns":"^4.4.0","better-auth":"^1.6.18","@effect/platform-bun":"4.0.0-beta.85"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/artifacts_0.0.5_1782738483490_0.12213096871127882","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@akshatowo/artifacts","version":"0.0.6","_id":"@akshatowo/artifacts@0.0.6","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"bin":{"artifacts":"dist/index.js"},"dist":{"shasum":"b3ee54e120afe7c1c8db8bbe3ca88f313ec46612","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.6.tgz","fileCount":5,"integrity":"sha512-eoq8lsKwQk/ykYGTx8DW2jkptuAM7zcfMtfKpzc1uBIF+lXancXC/Lr/U6UWD9FleubH/uPlu3aT9WOK09sJZg==","signatures":[{"sig":"MEUCIBLAvQNyW30bf7I27eZm89OGxxnk3jVXIKvblOMEkaf8AiEA36eVUohHbTZcVF/VizrItyyw6UOMr4cTnIs8aqfy3Qw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":491941},"type":"module","gitHead":"f9a3376a0db6ba2aa6806ab98dd4d2c83a3eda9c","private":false,"scripts":{"test":"bun test","build":"bun build ./src/index.ts --target=bun --production --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run test && bun run build && bun run check-types"},"_npmUser":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"},"_npmVersion":"11.13.0","description":"CLI for publishing and managing Artifacts.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"open":"^11.0.0","chalk":"^5.6.2","effect":"4.0.0-beta.85","date-fns":"^4.4.0","better-auth":"^1.6.18","@effect/platform-bun":"4.0.0-beta.85"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/artifacts_0.0.6_1782756274195_0.6362248920040068","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@akshatowo/artifacts","version":"0.0.7","_id":"@akshatowo/artifacts@0.0.7","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"bin":{"artifacts":"dist/index.js"},"dist":{"shasum":"c3a49c087aa2eda6d839808b9cb1e919ca34e0ae","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.7.tgz","fileCount":5,"integrity":"sha512-XSxzk3IU6s2gsBng9qwTZ0M45X6DnwvBem6M2mAoJo1OYibbsqlwo6UyG0Y1zASSbCIoEMT5thuInOAXgL+OjQ==","signatures":[{"sig":"MEQCIFAY7+yndevm9gmzuivEgMSPUxOypJdULM+Fq/irg1TFAiBt/Lz878lJLjsVyXqlrjSm/bN0W/2DqJQw4hlS2Zg4yA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":493820},"type":"module","gitHead":"9ac0bc41b3fd5f2ca58b1ae56a0724e278ed6013","private":false,"scripts":{"test":"bun test","build":"bun build ./src/index.ts --target=bun --production --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run test && bun run build && bun run check-types"},"_npmUser":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"},"_npmVersion":"11.13.0","description":"CLI for publishing and managing Artifacts.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"open":"^11.0.0","chalk":"^5.6.2","effect":"4.0.0-beta.85","date-fns":"^4.4.0","better-auth":"^1.6.18","@effect/platform-bun":"4.0.0-beta.85"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/artifacts_0.0.7_1783222275610_0.4678644407690311","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@akshatowo/artifacts","version":"0.0.8","_id":"@akshatowo/artifacts@0.0.8","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"homepage":"https://github.com/akshat-OwO/artifacts#readme","bugs":{"url":"https://github.com/akshat-OwO/artifacts/issues"},"bin":{"artifacts":"dist/index.js"},"dist":{"shasum":"4d971d29f387a58864643e3bf924b6e7fb537541","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.8.tgz","fileCount":5,"integrity":"sha512-KBwmSP2bbpwJ50/nQoIqJi7nDXWhLaznN027n1ait2/oZzeAtFk8tpQKKqERNJspjvkDZTbsLuCCbdPfHdx5kQ==","signatures":[{"sig":"MEUCIQDYn/p/fLDTmzWyY1adNVOM5VyxumXodRClYdVKsg4b/wIgFWt8ENB1T5ODf9LQviH8ml71rWT28MS1gdoEl84Ip4k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@akshatowo%2fartifacts@0.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":496643},"type":"module","gitHead":"f5ba1ae10f7ef0ce10c33e3314b74bec10818c29","private":false,"scripts":{"test":"bun test","build":"bun build ./src/index.ts --target=bun --production --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run test && bun run build && bun run check-types"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:cebfe574-c4bf-4c84-8c04-e81054b7dcb6"}},"repository":{"url":"git+https://github.com/akshat-OwO/artifacts.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.15.0","description":"CLI for publishing and managing Artifacts.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"open":"^11.0.0","chalk":"^5.6.2","effect":"4.0.0-beta.85","date-fns":"^4.4.0","better-auth":"^1.6.18","@effect/platform-bun":"4.0.0-beta.85"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/artifacts_0.0.8_1785081393407_0.9319089019763398","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"_id":"@akshatowo/artifacts@0.0.9","bin":{"artifacts":"dist/index.js"},"bugs":{"url":"https://github.com/akshat-OwO/artifacts/issues"},"dist":{"shasum":"ea0630ecb32df192b34e71afc861e70ef256fa65","tarball":"https://registry.npmjs.org/@akshatowo/artifacts/-/artifacts-0.0.9.tgz","integrity":"sha512-6wqkkynhzztI1Mw8K+bDzX6YB7xpenFkmsAhwbUY36edX+pSKpvmv8jpNrUuq4gyPYfl4yyngxX+wluSexUkCA==","fileCount":5,"unpackedSize":381207,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@akshatowo%2fartifacts@0.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDYAM7iLup3Mub0lxDjYYxeXm08KcbnTI4W8AMCtd5yswIhAOkq2mFTB5yKO0xIW56G4wAhXgrEjVjVkBq49J0+Mfk7"}]},"name":"@akshatowo/artifacts","type":"module","gitHead":"46984c54f4a7cc8eb39f4bb26de2e82bd7b7744f","private":false,"scripts":{"test":"bun test","build":"bun build ./src/index.ts --target=bun --production --outfile=dist/index.js --banner='#!/usr/bin/env bun' && chmod +x dist/index.js","check-types":"tsc --noEmit","prepublishOnly":"bun run test && bun run build && bun run check-types"},"version":"0.0.9","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cebfe574-c4bf-4c84-8c04-e81054b7dcb6"},"approver":{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}},"homepage":"https://github.com/akshat-OwO/artifacts#readme","repository":{"url":"git+https://github.com/akshat-OwO/artifacts.git","type":"git","directory":"packages/cli"},"_npmVersion":"11.15.0","description":"CLI for publishing and managing Artifacts.","directories":{},"maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"_nodeVersion":"24.19.0","dependencies":{"open":"^11.0.0","chalk":"^5.6.2","effect":"4.0.0-rc.110","date-fns":"^4.4.0","better-auth":"^1.6.18","@effect/platform-bun":"4.0.0-rc.110"},"publishConfig":{"access":"public"},"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/artifacts_0.0.9_1787130072938_0.20417713893146083"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-27T10:11:45.383Z","modified":"2026-08-19T09:01:13.529Z","0.0.1":"2026-06-27T10:11:45.795Z","0.0.2":"2026-06-27T10:18:10.614Z","0.0.3":"2026-06-27T10:28:22.265Z","0.0.4":"2026-06-27T10:59:58.028Z","0.0.5":"2026-06-29T13:08:03.658Z","0.0.6":"2026-06-29T18:04:34.478Z","0.0.7":"2026-07-05T03:31:15.747Z","0.0.8":"2026-07-26T15:56:33.493Z","0.0.9":"2026-08-19T09:01:13.041Z"},"bugs":{"url":"https://github.com/akshat-OwO/artifacts/issues"},"homepage":"https://github.com/akshat-OwO/artifacts#readme","repository":{"url":"git+https://github.com/akshat-OwO/artifacts.git","type":"git","directory":"packages/cli"},"description":"CLI for publishing and managing Artifacts.","maintainers":[{"name":"akshatowo","email":"akshatsinghdelhi@gmail.com"}],"readme":"# Artifacts CLI\n\nCommand-line tools for uploading, listing, and opening Artifacts.\n\n## Requirements\n\nThe npm package ships a Bun-targeted executable script. Install Bun before using\nthe CLI:\n\n```sh\ncurl -fsSL https://bun.sh/install | bash\n```\n\n## Installation\n\nInstall the CLI globally with npm:\n\n```sh\nnpm i -g @akshatowo/artifacts\n```\n\nThen verify the command is available:\n\n```sh\nartifacts --help\n```\n\n## Authentication\n\nSign in with the device-code flow:\n\n```sh\nartifacts auth login\n```\n\nThe CLI prints a verification URL and a one-time code. Open the URL, sign in,\nenter the code, and wait for the CLI to finish.\n\nCheck the current signed-in user:\n\n```sh\nartifacts auth whoami\n```\n\nSign out:\n\n```sh\nartifacts auth logout\n```\n\nAuthentication is stored locally in:\n\n- macOS/Linux: `~/.config/artifacts/auth.json`\n- Windows: `%APPDATA%\\artifacts\\auth.json`\n\n## Upload An Artifact\n\nUpload an HTML artifact:\n\n```sh\nartifacts upload ./path/to/artifact.html\n```\n\nOn success, the CLI prints the public artifact URL.\n\nIf you omit the path, the CLI prompts for a file:\n\n```sh\nartifacts upload\n```\n\n## List Artifacts\n\nList artifacts owned by the signed-in user:\n\n```sh\nartifacts ls\n```\n\nThe output includes the artifact ID, name, creation time, and update time.\n\n## Get An Artifact URL\n\nPrint the URL for an artifact by ID:\n\n```sh\nartifacts get <artifact-id>\n```\n\nExample:\n\n```sh\nartifacts get 0192f2c2-8f0e-7000-9c41-68aaf2f4fd21\n```\n\n## Download An Artifact\n\nWrite an artifact's raw HTML to standard output:\n\n```sh\nartifacts download <artifact-id>\n```\n\nThe output can be piped or redirected:\n\n```sh\nartifacts download <artifact-id> | sed -n '1,20p'\n```\n\nWrite the HTML directly to a file with `-o` or `--output`:\n\n```sh\nartifacts download <artifact-id> -o ./artifact.html\nartifacts download <artifact-id> --output ./artifact.html\n```\n\n## Share An Artifact\n\nMake an artifact public and print its share link:\n\n```sh\nartifacts share <artifact-id>\n```\n\nExample:\n\n```sh\nartifacts share 0192f2c2-8f0e-7000-9c41-68aaf2f4fd21\n```\n\nAnyone with the printed `/s/<artifact-id>` link can view the artifact.\n\nStop sharing an artifact:\n\n```sh\nartifacts unshare <artifact-id>\n```\n\nAfter unsharing, the public share link stops working.\n\n## Configuration\n\nBy default, production builds use:\n\n```txt\nhttps://artifacts.4kshat.dev\n```\n\nOverride the API base URL with `BASE_URL`:\n\n```sh\nBASE_URL=http://localhost:3000 artifacts ls\n```\n\nThe auth device client ID defaults to `artifacts-cli`. Override it with\n`AUTH_CLIENT_ID`:\n\n```sh\nAUTH_CLIENT_ID=my-client artifacts auth login\n```\n\n## Development\n\nBuild the distributable CLI:\n\n```sh\nbun run build\n```\n\nRun type checking:\n\n```sh\nbun run check-types\n```\n\nTest the built binary locally:\n\n```sh\n./dist/index.js --help\n```\n\nPreview the npm package contents:\n\n```sh\nnpm pack --dry-run\n```\n\n## Publishing\n\nBefore publishing, build and type-check:\n\n```sh\nbun run build\nbun run check-types\n```\n\nPublish from this package directory:\n\n```sh\nnpm publish\n```\n","readmeFilename":"README.md"}