You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Credential resolution order: `--username`/`--password` flags > `FIVE9_USERNAME`/`FIVE9_PASSWORD` env vars > OS keyring.
102
+
Credential resolution order: `--username`/`--password` flags > `FIVE9_USERNAME`/`FIVE9_PASSWORD` env vars > `--user` flag > `FIVE9_USER` env var > folder default (`.five9-cli/config.json`) > global default > OS keyring.
100
103
101
104
## Output Formats
102
105
@@ -125,63 +128,50 @@ Control output with `--output`:
125
128
126
129
The Five9 CLI includes a [skill](https://agentskills.io) that enables AI coding agents to query and manage your Five9 environment. It works with any agent that supports the skills standard — [Claude Code](https://claude.com/claude-code), [OpenAI Codex](https://openai.com/codex/), [Cursor](https://cursor.com), and others.
127
130
128
-
### Setup
131
+
### Automatic Setup
129
132
130
-
1. Install the Five9 CLI (see [Install](#install))
131
-
2. Login: `five9 login`
132
-
3. Download the skill into the correct folder for your coding agent:
133
+
The installer and `five9 post-install` command will offer to install the skill for detected agents (Claude Code, Claude Cowork, OpenAI Codex, Cursor) via an interactive menu. Skills are also kept up to date when you run `five9 update`.
134
+
135
+
### Manual Setup
136
+
137
+
If you prefer to install manually, download the skill into the correct folder for your coding agent:
cd /tmp && zip -r ~/Downloads/five9-cli-skill.zip five9-cli/
180
170
```
181
171
182
-
> These commands install the skill globally (user-level). You can also install per-project by placing the `five9-cli/SKILL.md` folder inside your project's `.claude/skills/`, `.agents/skills/`, or `.cursor/skills/` directory instead.
172
+
Then upload at: Claude Desktop → Cowork tab → Customize → Skills → + → Upload a skill.
183
173
184
-
4. If the `five9` binary is not in your `$PATH`, ask your coding agent to update the binary path in the skill file.
174
+
> These commands install the skill globally (user-level). You can also install per-project by placing the `five9-cli/SKILL.md` folder inside your project's `.claude/skills/`, `.codex/skills/`, or `.cursor/skills/` directory instead.
returnfmt.Errorf("user %s not found — run: five9 login", username)
106
+
}
107
+
108
+
cfg.SetDefaultUser(username)
109
+
iferr:=cfg.Save(); err!=nil {
110
+
returnfmt.Errorf("saving config: %w", err)
111
+
}
112
+
113
+
fmt.Printf("Default user set to %s\n", username)
114
+
returnnil
115
+
},
116
+
}
117
+
118
+
varauthSetFolderDefaultCmd=&cobra.Command{
119
+
Use: "set-folder-default <username>",
120
+
Short: "Set the default user for the current folder",
121
+
Long: "Associates a Five9 user with the current working directory. When running commands from this folder, this user's credentials will be used automatically.",
0 commit comments