@formigio/fazemos-cli 0.10.44 → 0.10.45
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/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/schedule.d.ts +64 -0
- package/dist/schedule.js +528 -0
- package/dist/schedule.js.map +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ import { registerWakeCommands } from './wake.js';
|
|
|
23
23
|
import { registerGovernanceCommands } from './governance.js';
|
|
24
24
|
import { registerAutoStartCommands } from './autostart.js';
|
|
25
25
|
import { registerFtrCommand } from './ftr.js';
|
|
26
|
+
import { registerScheduleCommands } from './schedule.js';
|
|
26
27
|
import { parseExecutionsJson, resolveWaitOptions, waitForPipelines, buildAwsCommand, validateExecutionEntry, } from './wait-for-pipeline.js';
|
|
27
28
|
import { readFileSync, readdirSync, writeFileSync, mkdirSync, existsSync, statSync } from 'fs';
|
|
28
29
|
import { fileURLToPath } from 'url';
|
|
@@ -9613,6 +9614,12 @@ registerAutoStartCommands(program);
|
|
|
9613
9614
|
// AC11: human-readable output per UX §7 (ratio/breakdown/contextual/footnotes).
|
|
9614
9615
|
// AC12: --json output equals endpoint response verbatim (LOCKED passthrough).
|
|
9615
9616
|
registerFtrCommand(program);
|
|
9617
|
+
// ── F35-FU-CRON-TZ-SCHEDULE — Per-project wake schedules: schedule list/set/unset/disable/enable/tz ──
|
|
9618
|
+
// Registers `schedule` top-level command with list, set, unset, disable, enable,
|
|
9619
|
+
// and `tz set <IANA>` sub-commands. All calls use the X-Fazemos-Project-Id header
|
|
9620
|
+
// (does NOT pass noProjectHeader: true — greenfield fix per binding_decision.cli_header_scoping).
|
|
9621
|
+
// admin/owner required for set/unset/disable/enable/tz; any active member for list.
|
|
9622
|
+
registerScheduleCommands(program);
|
|
9616
9623
|
// Skip auto-parse only when running under Vitest (which sets process.env.VITEST).
|
|
9617
9624
|
// Tests import `program` and drive it via `program.parseAsync(...)` after mocking
|
|
9618
9625
|
// `./api.js`. In every other context — direct invocation, npx tsx, OR the bin
|