feat: add cron cli aliases
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- Discord: format slow listener logs in seconds to match shared duration style.
|
- Discord: format slow listener logs in seconds to match shared duration style.
|
||||||
|
- CLI: add cron `create`/`remove`/`delete` aliases for job management.
|
||||||
- Agent: avoid duplicating context/skills when SDK rebuilds the system prompt. (#418)
|
- Agent: avoid duplicating context/skills when SDK rebuilds the system prompt. (#418)
|
||||||
- Signal: reconnect SSE monitor with abortable backoff; log stream errors. Thanks @nexty5870 for PR #430.
|
- Signal: reconnect SSE monitor with abortable backoff; log stream errors. Thanks @nexty5870 for PR #430.
|
||||||
- Gateway: pass resolved provider as messageProvider for agent runs so provider-specific tools are available. Thanks @imfing for PR #389.
|
- Gateway: pass resolved provider as messageProvider for agent runs so provider-specific tools are available. Thanks @imfing for PR #389.
|
||||||
|
|||||||
@@ -27,6 +27,11 @@ clawdbot [--dev] [--profile <name>] <command>
|
|||||||
doctor
|
doctor
|
||||||
login
|
login
|
||||||
logout
|
logout
|
||||||
|
providers
|
||||||
|
list
|
||||||
|
status
|
||||||
|
add
|
||||||
|
remove
|
||||||
send
|
send
|
||||||
poll
|
poll
|
||||||
agent
|
agent
|
||||||
@@ -201,6 +206,20 @@ Options:
|
|||||||
- `--provider <provider>`
|
- `--provider <provider>`
|
||||||
- `--account <id>`
|
- `--account <id>`
|
||||||
|
|
||||||
|
### `providers`
|
||||||
|
Manage chat provider accounts (WhatsApp/Telegram/Discord/Slack/Signal/iMessage).
|
||||||
|
|
||||||
|
Subcommands:
|
||||||
|
- `providers list`: show configured chat providers and auth profiles (Claude CLI + Codex CLI sync included).
|
||||||
|
- `providers status`: check gateway reachability and provider health (`--probe` to verify credentials).
|
||||||
|
- `providers add`: wizard-style setup when no flags are passed; flags switch to non-interactive mode.
|
||||||
|
- `providers remove`: disable by default; pass `--delete` to remove config entries without prompts.
|
||||||
|
|
||||||
|
Common options:
|
||||||
|
- `--provider <name>`: `whatsapp|telegram|discord|slack|signal|imessage`
|
||||||
|
- `--account <id>`: provider account id (default `default`)
|
||||||
|
- `--name <label>`: display name for the account
|
||||||
|
|
||||||
### `pairing`
|
### `pairing`
|
||||||
Approve DM pairing requests across providers.
|
Approve DM pairing requests across providers.
|
||||||
|
|
||||||
@@ -484,9 +503,9 @@ Manage scheduled jobs (Gateway RPC). See [/automation/cron-jobs](/automation/cro
|
|||||||
Subcommands:
|
Subcommands:
|
||||||
- `cron status [--json]`
|
- `cron status [--json]`
|
||||||
- `cron list [--all] [--json]`
|
- `cron list [--all] [--json]`
|
||||||
- `cron add` (requires `--name` and exactly one of `--at` | `--every` | `--cron`, and exactly one payload of `--system-event` | `--message`)
|
- `cron add` (alias: `create`; requires `--name` and exactly one of `--at` | `--every` | `--cron`, and exactly one payload of `--system-event` | `--message`)
|
||||||
- `cron edit <id>` (patch fields)
|
- `cron edit <id>` (patch fields)
|
||||||
- `cron rm <id>`
|
- `cron rm <id>` (aliases: `remove`, `delete`)
|
||||||
- `cron enable <id>`
|
- `cron enable <id>`
|
||||||
- `cron disable <id>`
|
- `cron disable <id>`
|
||||||
- `cron runs --id <id> [--limit <n>]`
|
- `cron runs --id <id> [--limit <n>]`
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ export function registerCronCli(program: Command) {
|
|||||||
addGatewayClientOptions(
|
addGatewayClientOptions(
|
||||||
cron
|
cron
|
||||||
.command("add")
|
.command("add")
|
||||||
|
.alias("create")
|
||||||
.description("Add a cron job")
|
.description("Add a cron job")
|
||||||
.requiredOption("--name <name>", "Job name")
|
.requiredOption("--name <name>", "Job name")
|
||||||
.option("--description <text>", "Optional description")
|
.option("--description <text>", "Optional description")
|
||||||
@@ -315,6 +316,8 @@ export function registerCronCli(program: Command) {
|
|||||||
addGatewayClientOptions(
|
addGatewayClientOptions(
|
||||||
cron
|
cron
|
||||||
.command("rm")
|
.command("rm")
|
||||||
|
.alias("remove")
|
||||||
|
.alias("delete")
|
||||||
.description("Remove a cron job")
|
.description("Remove a cron job")
|
||||||
.argument("<id>", "Job id")
|
.argument("<id>", "Job id")
|
||||||
.option("--json", "Output JSON", false)
|
.option("--json", "Output JSON", false)
|
||||||
|
|||||||
Reference in New Issue
Block a user