linode-cli
linode-cli copied to clipboard
[Bug]: Crash when running linode-cli domains records-list --help
CLI Version
linode-cli 5.48.2 Built off spec version 4.171.0
Command
linode-cli domains records-list --help
Output
linode-cli domains records-list [DOMAINID]
Domain Records List
API Documentation: https://www.linode.com/docs/api/domains/#domain-records-list
Example Usage:
linode-cli domains records-list 1234
Arguments:
Traceback (most recent call last):
File "/home/diazona/.local/bin/linode-cli", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/diazona/.local/pipx/venvs/linode-cli/lib/python3.12/site-packages/linodecli/__init__.py", line 260, in main
action_help(cli, parsed.command, parsed.action)
File "/home/diazona/.local/pipx/venvs/linode-cli/lib/python3.12/site-packages/linodecli/arg_helpers.py", line 401, in action_help
nullable_fmt = " (nullable)" if arg.nullable else ""
^^^^^^^^^^^^
AttributeError: 'OpenAPIResponseAttr' object has no attribute 'nullable'
Expected Behavior
The command should have printed a help message describing the usage and arguments of linode-cli domains records-list.
Actual Behavior
The command raised an exception and did not print information about the arguments..
Steps to Reproduce
- Install
linode-cli(I usedpipxon Python 3.11 and again on 3.12 but I expect that any standard method of installing it would give the same result) - Run
linode-cli domains records-list --help