@solidactions/cli 3.2.0 → 3.4.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 CHANGED
@@ -169,11 +169,15 @@ Use `solidactions <command> --help` for full flag details on any command.
169
169
  | Command | Key Flags | Description |
170
170
  |---------|-----------|-------------|
171
171
  | `project create <name>` | `-e` | Create an empty project (no source/build); `-e` defaults to `production` |
172
- | `project deploy <name> [path]` | `-e`, `--create`, `--config-only`, `--no-git-metadata` | Deploy or sync config only |
172
+ | `project deploy <name> [path]` | `-e`, `--create`, `--config-only`, `--paused`, `--no-git-metadata` | Deploy or sync config only; optionally land YAML schedules paused |
173
173
  | `project view <project>` | `-e` | View status and client-reported deployed revision |
174
+ | `project deploy <name> [path]` | `-e`, `--create`, `--config-only`, `--no-git-metadata` | Deploy or sync config only |
175
+ | `project enable <project>` | `-e` (default `dev`) | Allow new starts through this project gate |
176
+ | `project disable <project>` | `-e` (default `dev`) | Block new root starts without cancelling existing roots |
177
+ | `project view <project>` | `-e` | View status, `Enabled: on|off`, and client-reported deployed revision |
174
178
  | `project pull <name> [path]` | `-y` | Pull source (warns before overwriting) |
175
179
  | `project logs <name>` | | View build logs |
176
- | `project list` | | List all projects |
180
+ | `project list` | `--json` | List project families; environments render as `environment:on/off` |
177
181
 
178
182
  For `project view`, omitting `--env` treats `<project>` as an exact slug.
179
183
  Passing `--env production` uses the supplied production name/slug unchanged;
@@ -181,6 +185,21 @@ Passing `--env production` uses the supplied production name/slug unchanged;
181
185
  is deliberately different from historical commands such as `run start`,
182
186
  which default to dev.
183
187
 
188
+ Project enable/disable is an explicit, non-interactive operator action. It does
189
+ not cascade to workflows or schedules, and deploy does not undo the manual
190
+ state.
191
+
192
+ ### workflow
193
+
194
+ | Command | Key Flags | Description |
195
+ |---------|-----------|-------------|
196
+ | `workflow enable <project> <workflow>` | `-e` (default `dev`) | Enable the workflow gate; direct starts still require the project, and scheduled starts also require the schedule |
197
+ | `workflow disable <project> <workflow>` | `-e` (default `dev`) | Block new root starts without cancelling existing roots |
198
+
199
+ Workflow enable/disable accepts a workflow name or slug and does not prompt.
200
+ The manual state is sticky across deploys; enabling a workflow does not enable
201
+ its project or schedule.
202
+
184
203
  ### run
185
204
 
186
205
  | Command | Key Flags | Description |
@@ -205,19 +224,24 @@ which default to dev.
205
224
 
206
225
  | Command | Key Flags | Description |
207
226
  |---------|-----------|-------------|
208
- | `schedule set <project> <cron>` | `--workflow`, `-i`, `-z`, `-y` | Set cron schedule and optional IANA timezone (warns if exists) |
209
- | `schedule list <project>` | | List schedules |
210
- | `schedule delete <project> <id>` | `-y` | Delete a schedule |
227
+ | `schedule set <project> <cron>` | `--workflow`, `-i`, `-z`, `-e`, `--paused`, `-y` | Set cron schedule and optional IANA timezone (warns if exists) |
228
+ | `schedule list <project>` | `-e` | List effective state and operator/YAML disagreement |
229
+ | `schedule enable <project> <id>` | `-e` | Enable a schedule with a sticky override |
230
+ | `schedule disable <project> <id>` | `-e` | Disable a schedule with a sticky override |
231
+ | `schedule reset <project> <id>` | `-e` | Return a schedule to its last declared YAML state |
232
+ | `schedule delete <project> <id>` | `-e`, `-y` | Delete a schedule |
211
233
 
212
234
  ```bash
213
235
  solidactions schedule set my-project '0 9 * * 1-5' --workflow daily-summary --timezone America/Chicago
236
+ solidactions project deploy my-project -e production --paused
237
+ solidactions schedule enable my-project 42 -e production
214
238
  ```
215
239
 
216
240
  ### webhook
217
241
 
218
242
  | Command | Key Flags | Description |
219
243
  |---------|-----------|-------------|
220
- | `webhook list <project>` | `-e`, `--show-secrets` | List webhook URLs |
244
+ | `webhook list <project>` | `-e`, `--format table|json`, `--show-secrets` | List webhook URLs and state: `retired`, `off`, `blocked (project off)`, or `on` |
221
245
 
222
246
  ### skill
223
247