@pikarama/cli
v0.4.0
Published
Command-line interface for Pikarama - karma-weighted group decisions
Downloads
1,210
Maintainers
Readme
Pikarama CLI
Command-line interface for Pikarama — karma-weighted group decisions.
✨ Interactive by default — run commands without arguments and get beautiful select menus. Add --json for scripts.
Install
npm install -g @pikarama/cliQuick start
# Interactive login
pikarama login
# Browse and select events interactively
pikarama events
# Create a poll with guided prompts
pikarama poll
# Or use non-interactive mode for scripts
pikarama events --json
pikarama poll <topic-id> "Question?" --option "A" --option "B" --jsonFeatures
- 🎨 Interactive mode — Select from menus, get prompted for missing info
- 📦 JSON mode —
--jsonflag for scripting and automation - 🔇 Quiet mode —
--quietfor minimal output (just IDs)
Commands
Events
pikarama events # Interactive: browse and select
pikarama events --json # List as JSON
pikarama events create # Interactive: guided creation
pikarama events submit # Interactive: select event, enter pick
pikarama events vote # Interactive: select event & submission
pikarama events advance <id> # Advance to next phasePolls
pikarama poll # Interactive: full guided flow
pikarama poll <topic> "Q?" -o A -o B # Non-interactiveGroups
pikarama groups # Interactive: browse groups
pikarama groups create # Interactive: create with prompts
pikarama groups join # Interactive: enter invite codeKarma
pikarama karma # Show karma across all topics
pikarama karma <group-id> # Filter by groupAuth
pikarama login # Store API token
pikarama logout # Remove tokenOutput modes
| Flag | Effect |
|------|--------|
| (default) | Interactive menus and prompts |
| --json | Raw JSON (non-interactive) |
| --quiet | Minimal output, just IDs |
Configuration
- Token stored in
~/.pikarama/config.json - Get your API token at https://www.pikarama.com/settings
API
REST API: https://www.pikarama.com/api/v1
OpenAPI docs: https://www.pikarama.com/api-docs
License
MIT
