From 074d7f7e0cd1db5186a1a1c2de90be836e99ccd4 Mon Sep 17 00:00:00 2001 From: Artem Kosolap Date: Sun, 2 Aug 2026 14:18:48 -0700 Subject: [PATCH] docs: document `profile set` and `profile current` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both commands ship and work, and neither appears in the README. Found by checking the agents.reply.io CLI page against the sources: the site documents both, so it is currently more complete than this repository, and mirroring the README onto the site would have deleted two true facts. `profile set default --team-id ` is the part worth having written down — it pins a team for everything without creating a profile first, and nothing outside `--help` said so. --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 34fe376..9b9d631 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ reply profile use alice@reply.io # make it the active profile reply auth login # signs in alice@reply.io reply profile list # '*' marks the active profile +reply profile current # just the active profile's name reply --profile bob@reply.io auth whoami # override for a single command ``` @@ -111,11 +112,21 @@ set with `profile use` → the built-in default. Manage profiles after creating them: ```sh -reply profile show # inspect the current profile (no secrets) -reply profile show alice@reply.io # inspect a specific one -reply profile rename alice@reply.io ally # also moves the stored credential -reply profile unset ally team-id # clear a field (authority|api_base|team-id) -reply profile delete ally # remove it and its stored credential +reply profile show # inspect the current profile (no secrets) +reply profile show alice@reply.io # inspect a specific one +reply profile set alice@reply.io --team-id 1045 # edit in place; only what you pass changes +reply profile rename alice@reply.io ally # also moves the stored credential +reply profile unset ally team-id # clear a field (authority|api_base|team-id) +reply profile delete ally # remove it and its stored credential (-y skips the prompt) +``` + +`profile set` takes `--team-id`, and `--authority` / `--api-base` for pointing a +profile at a non-production backend. Naming `default` edits the built-in +profile, which is how you pin a team for everything without creating a profile +first: + +```sh +reply profile set default --team-id 1045 ``` `profile show` lists the backend URLs, pinned team, and which authorization