stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <>
Subject Re: Python CLI, regarding -u and -p flags in single-command mode
Date Sun, 02 Aug 2015 11:47:09 GMT
May be we can use the -u and -p defined after the add-user command for the
command and the first -u and -p for the user login to the CLI. If that's
not possible then we can use different parameter names for the command.


On Fri, Jul 31, 2015 at 8:39 AM, Milindu Sanoj Kumarage <> wrote:

> 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>
> 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

Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

View raw message