Closed BlackDragonBE closed 3 years ago
Interesting. Nothing is stopping users from currently doing this already using the description field, but it might be nice to have a separate field for this.
We could also add an 'example' field to each of the arguments.
@tverbeiren what do you think? .functionality.example
? .functionality.arguments[].example
?
(An argument example might be useful for Nextflow too...)
@tverbeiren what do you think?
.functionality.example
?.functionality.arguments[].example
?
+1
Duplicate of #56.
For example, take this yaml:
If you'd run
viash run config.vsh.yaml -- --help
on this, this might be the possible output:In a nutshell, it adds an example by adding
viash run config.vsh.yaml --
before the example defined in yaml.