You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have some discrepancies in epicli --help messages.
Example:
epicli prepare --help
usage: epicli <command> [<args>] prepare [-h] --os
{ubuntu-18.04,redhat-7,centos-7}
Creates a folder with all prerequisites to setup the offline requirements to
install a cluster offline.
optional arguments:
-h, --help show this help message and exit
--os {ubuntu-18.04,redhat-7,centos-7}
The OS to prepare the offline requirements for:
ubuntu-18.04|redhat-7|centos-7
--os argument is not optional, it's required to run epicli prepare:
(...)
sub_parser.add_argument('--os', type=str, required=True, dest='os', choices=['ubuntu-18.04', 'redhat-7', 'centos-7'],
help='The OS to prepare the offline requirements for: ubuntu-18.04|redhat-7|centos-7')
Second example:
epicli apply --help
usage: epicli <command> [<args>] apply [-h] [-f FILE] [--no-infra]
[--skip-config]
[--offline-requirements OFFLINE_REQUIREMENTS]
[--vault-password VAULT_PASSWORD]
[--profile-ansible-tasks]
Applies configuration from file.
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE File with infrastructure/configuration definitions to
use.
--file is required, epicli looking nowhere for a file if we don't specify it and error appears: 12:02:11 ERROR epicli - expected str, bytes or os.PathLike object, not NoneType
How to reproduce
epicli --help
epicli prepare --help
epicli apply --help
epicli init --help
and so on..
Expected behavior
The help messages should reflect reality (code 😬 ).
The text was updated successfully, but these errors were encountered:
Describe the bug
We have some discrepancies in epicli --help messages.
Example:
--os
argument is not optional, it's required to runepicli prepare
:Second example:
--file is required, epicli looking nowhere for a file if we don't specify it and error appears:
12:02:11 ERROR epicli - expected str, bytes or os.PathLike object, not NoneType
How to reproduce
epicli --help
epicli prepare --help
epicli apply --help
epicli init --help
and so on..
Expected behavior
The help messages should reflect reality (code 😬 ).
The text was updated successfully, but these errors were encountered: