Open walles opened 1 month ago
Also, =
flags only work with =
so you can't do --verbosity error
for example.
We should just take the first word not prefixed with --
. If it ends with .dart
or contains a /
, pretend it's a file name, otherwise a command.
Examples:
dart --help
says:Usage: dart <command|dart-file> [arguments]
So we should show either just the file name or something like
dart upgrade
.