Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 3.13 KB

index.md

File metadata and controls

63 lines (50 loc) · 3.13 KB

pop CLI Reference

Command reference generated from the yargs command tree. Regenerate with yarn docs:gen; CI verifies it with yarn docs:check.

Domain Description Commands Reference
task Task management 19 task.md
project Project management 6 project.md
org Organization management 32 org.md
vote Governance & voting 15 vote.md
user User & membership 8 user.md
education Education modules 6 education.md
vouch Vouching system 9 vouch.md
token Participation token requests 6 token.md
treasury Treasury & distributions 19 treasury.md
paymaster Gas sponsorship (ERC-4337) 5 paymaster.md
role Authority roles and membership 33 role.md
group Authority groups 9 group.md
zkemail ZK Email role invites (allowlists) 8 zkemail.md
config View and validate configuration 2 config.md
cashout EOA cash-out discovery and explicit recovery 6 cashout.md
execution Inspect and recover exact transaction submissions 2 execution.md
mcp Serve the CLI as an MCP server for AI integrations 1 mcp.md

Top-level commands

Run directly as pop <command> (not under a domain):

pop init

Interactive setup: wallet, chain, default org, .env

pop init [flags]
Flag Type Required Default Description
--chain number no - Chain ID to configure (100 Gnosis, 42161 Arbitrum, 11155111 Sepolia, 84532 Base Sepolia)
--file string no - Write to this exact path (testing)
--force boolean no false Overwrite an existing target .env file
--generate-key boolean no false Generate a fresh wallet non-interactively (prints the mnemonic once)
--global boolean no false Write ~/.pop/.env (per-user) instead of ./.env (project-local)
--org string no - Default org name or hex ID (POP_DEFAULT_ORG)

Global flags

Available on every command:

  • --org — Organization ID or name (or set POP_DEFAULT_ORG) (string)
  • --chain — Chain ID override (number)
  • --rpc — RPC URL override (string)
  • --json — Output JSON for machine consumption (boolean, default: false)
  • --address — Observe as this address for identity-scoped reads (or set POP_ADDRESS) — no key needed (string)
  • --private-key — Private key (hex) (string)
  • --dry-run — Simulate without sending transactions (boolean, default: false)
  • --yes, -y — Skip confirmations (boolean, default: false)
  • --verbose, -v — Debug output (boolean, default: false)
  • --quiet, -q — Suppress non-essential output (boolean, default: false)
  • --preflight — Run pre-flight checks before writes (--no-preflight to skip) (boolean, default: true)