bxctl: deny, another name for refuse

Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
2026-09-24 04:11:01 -07:00
parent ebb78e816d
commit a5c37d8756
3 changed files with 47 additions and 1 deletions
+4 -1
View File
@@ -21,6 +21,9 @@ usage: bxctl <command> [options]
bxctl refuse <id> [--reason TEXT] [--admin-socket PATH]
Refuse approval <id>, recording a reason.
bxctl deny <id> [--reason TEXT] [--admin-socket PATH]
Another name for refuse.
bxctl grants check [--admin-socket PATH]
Check that the grants load.
@@ -98,7 +101,7 @@ pub fn parse(args: &[String], home: &Path) -> Result<Command, UsageError> {
"chat" => parse_chat(rest, home),
"approvals" => parse_approvals(rest, home),
"approve" => parse_approve(rest, home),
"refuse" => parse_refuse(rest, home),
"refuse" | "deny" => parse_refuse(rest, home),
"grants" => parse_grants(rest, home),
"audit" => parse_audit(rest, home),
// A flag before the command, or any unknown command, is not valid.