apache / cloudstack-cloudmonkey

Apache Cloudstack Cloudmonkey
Apache License 2.0
95 stars 63 forks source link

Validate arguments passed while setting configuration #79

Closed Pearl1594 closed 3 years ago

Pearl1594 commented 3 years ago

Fixes: https://github.com/apache/cloudstack-cloudmonkey/issues/77

Post Fix:

go run cmk.go -o default
Invalid value set for output format. Supported values: column,csv,json,table,text
exit status 1

$ go run cmk.go 
Apache CloudStack 🐵 CloudMonkey 6.1.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues

(localcloud) 🐱 > set display default
🙈 Error: Invalid value set for output. Supported values: column, csv, json, table, text
(localcloud) 🐱 >  

(localcloud) 🐱 > set output default
🙈 Error: Invalid value set for output. Supported values: column, csv, json, table, text
(localcloud) 🐱 >  
Pearl1594 commented 3 years ago

@andrijapanicsb Can you please help review/test this. Thanks