-
-
Notifications
You must be signed in to change notification settings - Fork 96
Closed as not planned
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Bashly config:
name: download
version: 0.1.0
flags:
- long: --path
arg: path
help: path to directory
default: somedir
- long: --other
help: test some flagExpected behavior
$ ./download --path --other
--path requires an argument: --path PATH
Actual behavior
$ ./download --path --other
args:
- ${args[--path]} = --other
Notes
Implementing this will probably mean checking for the supplied flag argument, and if it starts with a hyphen (-), assume it is another flag and disallow it. Therefore, need to consider this downside before implementing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on