retell-sync-cli 3.9.1 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +63 -0
  2. package/dist/cli.js +36927 -35682
  3. package/package.json +1 -2
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # retell-sync-cli
2
+
3
+ CLI for syncing [Retell AI](https://www.retellai.com/) agent configurations between the API and your local filesystem.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ bun add -g retell-sync-cli
9
+ ```
10
+
11
+ Set your API key:
12
+
13
+ ```bash
14
+ export RETELL_API_KEY=your_key_here
15
+ ```
16
+
17
+ ## Commands
18
+
19
+ ### `retell pull`
20
+
21
+ Pull agent configs from the Retell API to local files.
22
+
23
+ ```bash
24
+ retell pull # interactive agent selection
25
+ retell pull <agentId> # pull a specific agent
26
+ retell pull -a # pull all agents
27
+ retell pull -v 3 # pull a specific version
28
+ retell pull --no-tests # skip test cases
29
+ ```
30
+
31
+ ### `retell deploy`
32
+
33
+ Deploy local changes to Retell (draft state).
34
+
35
+ ```bash
36
+ retell deploy # interactive selection
37
+ retell deploy <agentId> # deploy a specific agent
38
+ retell deploy -a # deploy all
39
+ retell deploy -n # dry run -- show changes without applying
40
+ retell deploy -n -v # dry run with full diffs
41
+ ```
42
+
43
+ ### `retell publish`
44
+
45
+ Publish agents that have unpublished draft changes.
46
+
47
+ ```bash
48
+ retell publish # interactive selection
49
+ retell publish <agentId> # publish a specific agent
50
+ retell publish -a # publish all
51
+ retell publish -n # dry run
52
+ ```
53
+
54
+ ## Options
55
+
56
+ | Flag | Description |
57
+ | ------------------------------ | --------------------------------------------- |
58
+ | `-w, --agents-dir <dir>` | Directory for agent files (default: `agents`) |
59
+ | `-f, --config-format <format>` | Config file format (`json`, `jsonc`, `yaml`) |
60
+
61
+ ## License
62
+
63
+ MIT