Kong / deck

decK: Configuration management and drift detection for Kong
https://docs.konghq.com/deck/overview
Apache License 2.0
445 stars 130 forks source link

Improved error message when a mandatory flag is missing #1429

Open mheap opened 4 weeks ago

mheap commented 4 weeks ago

When a mandatory CLI flag is missing, the error message is not helpful:

$ deck file convert --from kong-gateway-2.x
Error: invalid format: ''

It would help to add the name of the field, e.g.

Error: invalid value '' found for the 'to' flag