Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow to add comments to parameters #175
Related to YunoHost/yunohost#196, it would be nice from a UX point of view to inform the admin/user about the constrain on the password rather than coldly refusing a password after it has been given (probably cancelling the whole command, then the user needs to reanswer every argument)
More generally, there are several case where we might want to add a comment to clarify what is asked. For instance, during the postintall, it may be good to have a comment explaining what is the Main domain and that it can be changed later for instance.
Allow arguments in the actionmap to specify a string key corresponding to a comment that shall be displayed before asking the argument.
For instance, we may have :
which may produce :