Description
A customer reported that after running dnsimple record list, he would have expected some help/hint, not an error:
> dnsimple records list
Error: accepts 1 arg(s), received 0
I would have expected the full help page after this error message, like on dnsimple records, so I understand what argument is expected
I think we don't need to show a full help page, but showing what type of argument is expected is better than just accepts 1 arg(s). This is more obvious when you run dnsimple records get without parameters.
> dnsimple records get
Error: accepts 2 arg(s), received 0
Expected Behavior or Outcome
- Missing arguments actually shows what arguments are missing.
Acceptance Criteria
Resources/References
https://dnsimple.groovehq.com/tickets/526508
Notes
None
Description
A customer reported that after running
dnsimple record list, he would have expected some help/hint, not an error:I think we don't need to show a full help page, but showing what type of argument is expected is better than just
accepts 1 arg(s). This is more obvious when you rundnsimple records getwithout parameters.Expected Behavior or Outcome
Acceptance Criteria
dnsimple records listwithout an argument shows that a zone name is missingdnsimple records getwithout an argument shows that a zone and a record ID are missing.Resources/References
https://dnsimple.groovehq.com/tickets/526508
Notes
None