Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

strawpoll-cli

bởi dedene

CLI Utilities
491Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Create and manage StrawPoll polls, meeting polls, and ranking polls from the terminal using the strawpoll CLI.

Mô tả

Kỹ năng này làm gì

Command-line interface for the StrawPoll API v3. Supports creating and managing multiple-choice polls, meeting availability polls, and ranked-choice polls. Output can be plain text, JSON, or tab-separated for scripting.

Eliminates the need to open a browser for routine polling tasks and makes StrawPoll scriptable in shell pipelines.

Khi nào nên dùng

  • Creating a team vote on project priorities without leaving the terminal
  • Scheduling a meeting by collecting availability across multiple dates
  • Running a ranked-choice vote to decide sprint focus areas
  • Automating poll creation in CI scripts with JSON output
  • Checking live poll results and sharing the URL with teammates

Quy trình ví dụ

ĐẦU VÀO

User asks: create a poll asking the team to pick a release day, then check results

AGENT
  1. 1

    Run strawpoll poll create "Release day?" Monday Tuesday Wednesday Thursday Friday --copy to create the poll and copy its URL

  2. 2

    Capture the poll ID from the JSON output or note it from the printed URL

  3. 3

    Share the URL with teammates for voting

  4. 4

    Run strawpoll poll results <poll-id> to view vote counts in a formatted table

  5. 5

    Run with --json flag and pipe to jq if results need to be processed programmatically

ĐẦU RA

A StrawPoll URL ready to share, plus a results table showing vote counts per option

Yêu cầu

  • STRAWPOLL_API_KEY environment variable or stored via `strawpoll auth set-key`
  • StrawPoll account (free) at strawpoll.com to obtain an API key

Cài đặt

clawhub install dedene/strawpoll-cli

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết