{"_id":"@dunnewold-labs/nudge-cli","name":"@dunnewold-labs/nudge-cli","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.6":{"name":"@dunnewold-labs/nudge-cli","version":"0.1.6","publishConfig":{"access":"public"},"description":"CLI for Nudge push notification service","type":"module","bin":{"nudge":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsc --watch","start":"node dist/index.js"},"dependencies":{"commander":"^13.1.0"},"devDependencies":{"@types/node":"^20","typescript":"^5"},"_id":"@dunnewold-labs/nudge-cli@0.1.6","gitHead":"0bd773e647625feb8fb6a41c37c86314591ae2ea","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Fqgjzx/Txvaajmvhz5h3vYS4CE58rGue6vWn1UhL6IaCbJGQ7AKsP6HaS100vL+SaheuN9OQU+F2Q77jvbKkMw==","shasum":"8998cbc847e90105c46be94f366e770d1f16d4b8","tarball":"https://registry.npmjs.org/@dunnewold-labs/nudge-cli/-/nudge-cli-0.1.6.tgz","fileCount":16,"unpackedSize":26330,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID9Ya9is8udNVEBxxFuaZQCwfcfkQ4lqte/x0czn4o9fAiEA+tUI0Rp9ArU6nay+dcajmvlbWNT4XaXPPBTn+DlHmzs="}]},"_npmUser":{"name":"ryandunnewold","email":"rmdunnewold@gmail.com"},"directories":{},"maintainers":[{"name":"ryandunnewold","email":"rmdunnewold@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nudge-cli_0.1.6_1775669976236_0.918473317012034"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-08T17:39:36.166Z","0.1.6":"2026-04-08T17:39:36.443Z","modified":"2026-04-08T17:39:36.620Z"},"maintainers":[{"name":"ryandunnewold","email":"rmdunnewold@gmail.com"}],"description":"CLI for Nudge push notification service","readme":"# Nudge CLI\n\nCommand-line interface for the [Nudge](../README.md) push notification service.\n\n## Installation\n\n```bash\ncd cli\nnpm install\nnpm run build\nnpm link    # makes `nudge` available globally\n```\n\n## Quick Start\n\n```bash\n# Create an account (or use `nudge login` if you already have one)\nnudge signup --url http://localhost:3000\n\n# Create a nudge\nnudge nudges create \"Server Alerts\"\n\n# Send a test webhook\nnudge nudges send <slug> --data '{\"server\": \"prod-01\", \"cpu\": 95}'\n\n# View notification history\nnudge notifications list <nudge-id>\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `nudge signup` | Create a new account |\n| `nudge login` | Log in to your account |\n| `nudge logout` | Log out |\n| `nudge whoami` | Show current user |\n| `nudge config` | View/set configuration |\n| `nudge nudges list` | List all nudges |\n| `nudge nudges create <name>` | Create a nudge |\n| `nudge nudges show <id>` | Show nudge details |\n| `nudge nudges update <id>` | Update nudge settings |\n| `nudge nudges delete <id>` | Delete a nudge |\n| `nudge nudges test <id>` | Test with sample payload |\n| `nudge nudges send <slug>` | Send webhook payload |\n| `nudge nudges logs <id>` | View webhook logs |\n| `nudge nudges gen <id>` | AI-generate templates |\n| `nudge devices list <id>` | List devices |\n| `nudge devices register <id>` | Register a device |\n| `nudge devices remove <id> <deviceId>` | Remove a device |\n| `nudge notifications list <id>` | List notifications |\n| `nudge notifications show <id> <notifId>` | Notification details |\n\n## Claude Code Skill\n\nInstall the Nudge skill for Claude Code:\n\n```bash\n# From the cli/ directory\ncp -r skill ~/.claude/skills/nudge\n```\n\nOr if using `zdev`:\n\n```bash\nzdev skills install nudge --path ./cli/skill\n```\n\nOnce installed, Claude Code can manage your Nudge setup through natural language.\n\n## Configuration\n\nConfig is stored at `~/.nudge/config.json`:\n\n```json\n{\n  \"baseUrl\": \"http://localhost:3000\",\n  \"sessionToken\": \"...\"\n}\n```\n\nSet the server URL:\n\n```bash\nnudge config --url https://api.nudge.app\n```\n","readmeFilename":"README.md","_rev":"1-44b73295ff584740be8887bdccbc61f2"}