Hi,

While developing the Python CLI for Stratos, I came across a small
question.


add-user -u <USERNAME> -p <PASSWORD> -r <ROLE_NAME> -f <FIRST_NAME> -l
<LAST_NAME> -e <EMAIL> -pr <PROFILE_NAME>

In the above CLI command, -u <USERNAME> and -p <PASSWORD> means the
username and password of the user that is to be added to the system with
this command, right? But we usually use -u and -p flags to provide the
username and the password of the user who is invoking the commands. This
may be not a big problem in Interactive mode. My question is, when in
single-command mode, how this conflict is resolved?

Thank you

Reply via email to