@posterly/cli 0.1.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.
- package/README.md +38 -0
- package/bin/posterly.mjs +873 -0
- package/generated/platform-manifest.mjs +695 -0
- package/package.json +13 -0
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# posterly CLI
|
|
2
|
+
|
|
3
|
+
Command line access to the posterly API.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
posterly auth:login
|
|
7
|
+
posterly auth:key pst_live_your_key_here
|
|
8
|
+
posterly whoami --pretty
|
|
9
|
+
posterly accounts:list --pretty
|
|
10
|
+
posterly accounts:disconnect 123 --confirm --pretty
|
|
11
|
+
posterly platforms:schema --platform instagram --pretty
|
|
12
|
+
posterly oauth:clients --pretty
|
|
13
|
+
posterly oauth:create-client --client-name "Agency approval app" --redirect-uri https://agency.example.com/oauth/callback --scopes accounts:read,posts:read,posts:write --pretty
|
|
14
|
+
posterly oauth:update-client poc_abc123 --client-name "Agency approval app v2" --confirm --pretty
|
|
15
|
+
posterly ai:video-options --pretty
|
|
16
|
+
posterly ai:video-function google_veo estimate_cost --params '{"duration_seconds":8,"resolution":"720p","output":"vertical"}' --pretty
|
|
17
|
+
posterly posts:create --account-id 123 --caption "Launching soon" --scheduled-at 2026-06-01T09:00:00Z
|
|
18
|
+
posterly posts:status 123 --status paused --confirm --pretty
|
|
19
|
+
posterly posts:missing 123 --pretty
|
|
20
|
+
posterly posts:release-id 123 --release-id launch-2026-05-16 --group-id campaign-42 --pretty
|
|
21
|
+
posterly posts:delete-group campaign-42 --confirm --pretty
|
|
22
|
+
posterly gbp:reviews --account-id 123 --unanswered --pretty
|
|
23
|
+
posterly gbp:review-link 123 --pretty
|
|
24
|
+
posterly gbp:audit 123 --pretty
|
|
25
|
+
posterly gbp:suggest-reply --account-id 123 --star-rating 5 --review-text "Great service" --pretty
|
|
26
|
+
posterly gbp:reply --account-id 123 --review-name accounts/123/locations/456/reviews/abc --comment "Thanks Alex. Glad we could help." --confirm --pretty
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The CLI outputs JSON by default so it can be piped into `jq` or other tools. Use
|
|
30
|
+
`--pretty` for formatted output.
|
|
31
|
+
|
|
32
|
+
Authentication order:
|
|
33
|
+
|
|
34
|
+
1. `--api-key`
|
|
35
|
+
2. `POSTERLY_API_KEY`
|
|
36
|
+
3. `~/.posterly/config.json` saved by `posterly auth:login` or `posterly auth:key`
|
|
37
|
+
|
|
38
|
+
Set `--url` or `POSTERLY_URL` to point at a non-production posterly deployment.
|