consensus-tools jobs post

Create jobs on the active board.

Usage

consensus-tools jobs post \
  --title <title> \
  [--desc <desc>] \
  [--input <input>] \
  [--mode SUBMISSION|VOTING] \
  [--policy <key>] \
  [--reward <n>] \
  [--stake <n>] \
  [--expires <seconds>] \
  [--json]

--title is required.

Input sources

If --input is omitted, CLI reads stdin when available.

echo '{"task":"review this"}' | consensus-tools jobs post \
  --title "Review task" \
  --desc "stdin payload"

Examples

consensus-tools jobs post \
  --title "PR #142 review" \
  --desc "Check security and regressions" \
  --mode SUBMISSION \
  --policy HIGHEST_CONFIDENCE_SINGLE \
  --reward 12 \
  --stake 4 \
  --expires 3600 \
  --json

List and inspect:

consensus-tools jobs list --json
consensus-tools jobs get <jobId> --json