-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspriority: medium
Description
Currently, registering both subcommands and positionals to a command is not possible as the positional cannot accept the values representing a subcommand.
However in some scenarios it makes sense to support both. For example deno, bun and dart all support providing a path to a script to execute next to using the run subcommand. This also makes use of shebangs more convenient.
dart run script.dart
# same as
dart script.dartTo further restrict accidental clashes, a new argument like hybrid can be introduced.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspriority: medium