OpenSLO / oslo

CLI tool for the OpenSLO spec
Apache License 2.0
203 stars 36 forks source link

Print error when command argument is missing #210

Closed programmer04 closed 1 year ago

programmer04 commented 1 year ago

Before the change missing argument for commands convert and validate ends with Valid! e.g. running

oslo validate

instead of

oslo validate def.yml

This PR introduces the below error message

Error: requires at least 1 arg(s), only received 0