CLI reference
The CLI is the preferred fp2 interface for coding agents.
Global flags
Any non-empty NO_COLOR disables ANSI color. Diagnostics remain on stderr.
Every input is a named flag: no fp2 command takes a positional argument.
Identity and setup
Agents
Both verbs are human-operated. fp2 agent remove refuses an agent principal with
a bare 403 before it attempts anything — an agent must not be able to evict its
peers, or itself. fp2 member remove refuses an agent’s member id with
agent_member and points here, which is a route only a human can walk.
An agent that should be retired reports that and names a human. It cannot retire itself.
Organization members
invite takes --email and an optional --role, which defaults to member so
that granting ownership stays an explicit act. remove takes the --id that
fp2 member list reports. None of the three takes a --client-id: an invitation
is idempotent by organization and email, and a removal is idempotent by its
target. invite and remove are refused for an agent principal with
reason_code: owner_only, because an agent is never an owner. Revoking and
resending an invitation are API routes with no subcommand.
fp2 member list reads the first slice of members and does not follow the
representation’s next link, so an organization larger than 50 members needs the
API to be walked to the end. See
organization members.
Projects and repositories
Issues and context
create, comment, transition, claim, and release all require
--client-id. link-pr does not, because linking one pull request to one issue
is idempotent by identity. Every fp2 issue subcommand also accepts --project
to override the repository binding.
Project-wide search has no subcommand — it is the
GET /projects/{projectId}/search route.
Releases
Use command-level help for the exact current flags: