@easybits.cloud/cli 0.17.1 → 0.19.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 +26 -1
- package/dist/index.js +718 -128
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -123,8 +123,33 @@ easybits secrets set --dotenv .env.production # KEY=VALUE lines; - reads stdin
|
|
|
123
123
|
printf '%s' "$TOKEN" | easybits secrets set GITHUB_TOKEN # one value from stdin
|
|
124
124
|
easybits secrets rm GITHUB_TOKEN --yes
|
|
125
125
|
|
|
126
|
-
#
|
|
126
|
+
# Your crons: call a public https URL or message one of your agents, repeating (at most every 5 min) or once
|
|
127
|
+
easybits crons create "Study reminder" --cron "30 8 * * *" --url https://www.ghosty.studio/api/v2/me/push \
|
|
128
|
+
--method POST --body '{"title":"Study time"}' --secret GHOSTY_PUSH_TOKEN
|
|
129
|
+
easybits crons create "Weekly report" --cron "0 9 * * 1" --agent <agentId> --prompt "Send me the sales summary"
|
|
130
|
+
easybits crons create "Heads-up" --at 23:00 --url https://my-app.com/api/notice --method POST --dry-run # once, today 23:00 in --tz
|
|
131
|
+
easybits crons create "Heads-up" --in 2h --url https://my-app.com/api/notice --method POST # once; --until/--times end repeating ones
|
|
132
|
+
easybits crons create "Review" --at 23:00 --run "python3 asc.py submit" --file scripts/asc.py \
|
|
133
|
+
--secret-file ASC_P8:~/.appstoreconnect/private_keys/AuthKey_X.p8 # a command in a throwaway box; the .p8 only this cron reads
|
|
134
|
+
easybits crons runs "Review" --logs # exit code + stdout/stderr
|
|
135
|
+
easybits crons wait "Review" --timeout 2h # blocks until it runs; exits with its exit code
|
|
136
|
+
easybits crons update "Review" --notify push,email --notify-on always # push to the Ghosty app / email to you
|
|
127
137
|
easybits crons ls
|
|
138
|
+
easybits crons update "Study reminder" --cron "0 7 * * 1-5"
|
|
139
|
+
easybits crons run "Study reminder" # id or exact name
|
|
140
|
+
easybits crons runs "Study reminder"
|
|
141
|
+
easybits crons pause "Study reminder"
|
|
142
|
+
easybits crons rm "Study reminder" --yes
|
|
143
|
+
|
|
144
|
+
# Event inboxes: your own webhook URL; events reach your terminal live or wait for you
|
|
145
|
+
easybits inbox create builds # prints the URL (anyone with it can write)
|
|
146
|
+
easybits inbox ls
|
|
147
|
+
easybits inbox listen builds # one JSON line per event, live (Claude Code: run it with Monitor)
|
|
148
|
+
easybits inbox read builds # the unread ones, marked read
|
|
149
|
+
easybits inbox rm builds --yes
|
|
150
|
+
|
|
151
|
+
# Platform crons (platform admins only; key with the ADMIN scope)
|
|
152
|
+
easybits crons ls --platform
|
|
128
153
|
easybits crons runs backup-machines
|
|
129
154
|
easybits crons run purge-notifications
|
|
130
155
|
easybits crons pause check-hosting
|