summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-25 10:30:41 +0900
committerAdam Malczewski <[email protected]>2026-06-25 10:30:41 +0900
commitd4b470ca582e3c69c40438895b90748d44fc4653 (patch)
tree1556ec4073013cec8d5599a6aa9911bedcfca7c3 /packages/kernel/src
parent8a74335c21a57ee63c9a0658754430d6520dbc87 (diff)
downloaddispatch-d4b470ca582e3c69c40438895b90748d44fc4653.tar.gz
dispatch-d4b470ca582e3c69c40438895b90748d44fc4653.zip
feat(cli): add --file flag to 'dispatch send' subcommand
Add the same --file <path> support that the summon (chat) command has to the 'dispatch send' subcommand. When --file is given, the file's contents are read and attached to the message (composed via composeMessage, identical to chat). - args.ts: add 'file' to the send ParsedCommand, make 'text' optional, parse --file, and require at least one of --text or --file. - main.ts: read the file and compose the message in the send case, using the composed message in both the --queue and streaming branches; update USAGE. - args.test.ts: cover --file parsing (alone, with --text, missing value) and update the existing send expectations + the both-missing error message.
Diffstat (limited to 'packages/kernel/src')
0 files changed, 0 insertions, 0 deletions