diff options
author | Dean Troyer <dtroyer@gmail.com> | 2016-08-29 13:07:17 -0500 |
---|---|---|
committer | Dean Troyer <dtroyer@gmail.com> | 2016-08-29 13:30:19 -0500 |
commit | 2b52bcf6943369fe96db3aefe2ee7473dd51b934 (patch) | |
tree | eaf232befd85b332eb06087c6798659afaba596c /.gitreview | |
parent | 72c1cd9c41b9e0862d3bde1bea84a60e41dfefd0 (diff) | |
download | os-client-config-1.21.0.tar.gz |
Add prompting for KSA options1.21.0
Teach OpenStackConfig to prompt the user for KSA plugin options
that have no value but have a prompt string defined.
* Add pw_func argument to __init__() to be used as the callback
for prompting the user. The default is None which skips the
prompt step.
* Add option_prompt() method to perform the checks for prompting,
call the callback and save the returned value. This is public
to handle cases where simply passing in a callback is insufficient
for the prompt mechanism.
Related-Bug: #1617384
Change-Id: I5faa86e94d6f71282ac270e2acfbd3016638c780
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions