- Notifications
You must be signed in to change notification settings - Fork928
Closed
Labels
Description
The coder CLI quietly accepts any subcommand arguments and silently swallows them. This is confusing for users since they should really be seeing an error that the subcommand doesn't exist.
❯ coder | head -n5coder v2.3.3+e491217USAGE: coder [global-flags] <subcommand>
❯ coder idontexist | head -n5coder v2.3.3+e491217USAGE: coder [global-flags] <subcommand>
❯ coder idontexist --help | head -n5coder v2.3.3+e491217USAGE: coder [global-flags] <subcommand>
Expected:
❯ coder idontexisterror: command "coder idontexist" doesn't exist, see "coder --help" for more information❯ coder iexistbut idontexisterror: command "coder iexistbut idontexist" doesn't exist, see "coder iexistbut --help" for more information