Description of problem: The cli options for pulp user are too confusing with all the username & password options User create needs 3 sets of usernames & passwords while the other 2 needs 2. [root@preethi pulp]# pulp -u admin -p admin user create --help Usage: pulp -u <username> -p <password> user create [OPTIONS] Options: -h, --help show this help message and exit --newusername=NEWUSERNAME new username to create --newpassword=NEWPASSWORD password for authentication --name=NAME name of user for display purposes -u USERNAME, --username=USERNAME <REQUIRED> username for access to Pulp. Default user admin is included with base install. -p PASSWORD, --password=PASSWORD <REQUIRED> password for access to Pulp. [root@preethi pulp]# pulp -u admin -p admin user delete --help Usage: pulp -u <username> -p <password> user delete [OPTIONS] Options: -h, --help show this help message and exit --deleteusername=DELETEUSERNAME Username of user you wish to delete -u USERNAME, --username=USERNAME <REQUIRED> username for access to Pulp. Default user admin is included with base install. -p PASSWORD, --password=PASSWORD <REQUIRED> password for access to Pulp. [root@preethi pulp]# pulp -u admin -p admin user list --help Usage: pulp -u <username> -p <password> user list [OPTIONS] Options: -h, --help show this help message and exit -u USERNAME, --username=USERNAME <REQUIRED> username for access to Pulp. Default user admin is included with base install. -p PASSWORD, --password=PASSWORD <REQUIRED> password for access to Pulp.
We revamped how the CLI handles username and password arguments. can you re-test to see if things are clearer now?
yes this looks good now [root@preethi ~]# pulp-admin user create --help Usage: pulp-admin <options> user create <options> Options: -h, --help show this help message and exit --username=USERNAME new username to create (required) --password=PASSWORD password for authentication --name=NAME name of user for display purposes [root@preethi ~]# pulp-admin user delete --help Usage: pulp-admin <options> user delete <options> Options: -h, --help show this help message and exit --username=USERNAME username of user you wish to delete (required) [root@preethi ~]# pulp-admin user update --help Usage: pulp-admin <options> user update <options> Options: -h, --help show this help message and exit --username=USERNAME username of user you wish to edit. Not editable (required) --password=PASSWORD updated password to assign to user --name=NAME updated name of user for display purposes [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin user Usage: pulp-admin <options> user <action> <options> Supported Actions: list list available users create create a user delete delete a user update update a user pulp-admin: error: no action given: please see --help [root@preethi ~]# pulp-admin user list --help Usage: pulp-admin <options> user list <options> Options: -h, --help show this help message and exit [root@preethi ~]#
Closing with community release pulp-0.0.139-1.fc14.noarch