تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

strawpoll-cli

بواسطة dedene

CLI Utilities
491التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

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

الوكيل
  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

الإخراج

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

المتطلبات

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

التثبيت

clawhub install dedene/strawpoll-cli

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط