CLICommands
poll
snug poll <COMMAND>Poll, voting, and tally operations.
Subcommands
| Command | What it does |
|---|---|
create | Create a new poll |
list | List polls |
get | Get poll details |
vote | Submit a ballot |
results | Get aggregate results |
ballot | Get the caller's ballot receipt |
add-option | Add an option to a poll |
close | Close a poll early |
finalize | Finalize an agent-quorum poll once quorum is satisfied |
stream | Stream live result and quorum updates over a WebSocket |
Run snug poll <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug poll create --title "Which feature next?" --options "Feature A,Feature B" --results-visibility public
snug poll create --title "Rank proposals" --strategy ranked_choice --options "A,B,C"
snug poll list --page-size 10
snug poll get --poll-id <uuid>
snug poll vote <uuid> --option opt_a
snug poll vote <uuid> --options opt_a,opt_c
snug poll vote <uuid> --ranked opt_a,opt_b,opt_c
snug poll vote <uuid> --write-in "Another option"
snug poll results --poll-id <uuid>
snug poll ballot --poll-id <uuid>
snug poll add-option --poll-id <uuid> --label "Feature C"
snug poll close --poll-id <uuid>
snug poll finalize --poll-id <uuid>
snug poll stream <uuid>Next
- poll guide - what the service does and when to reach for it.
- API reference - every endpoint these commands call.
- CLI reference - global options, output modes, and exit codes.