seqeralabs / tower-cli

Nextflow Tower CLI tool
Apache License 2.0
42 stars 9 forks source link

Improve error message when entering invalid commands #94

Open pditommaso opened 3 years ago

pditommaso commented 3 years ago

When entering an invalid command the error message could be improved, eg.

» tw -i 40230138858677 runs vie
Unmatched argument at index 3: 'vie'

It would be better

Unknown command 'vie'
Did you mean: view?
jordeu commented 3 years ago

Not sure that we can change this picocli library behaviour at that level. Labelling as on hold, to be explored.