mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Parse comma-separated lists of values in all parameter types. This can be enabled for a specific parameter by setting the "csv" option to True.
Remove "List" parameter type and replace all occurences of it with appropriate
multi-valued parameter ("Str" in most cases) with csv enabled.
Add new parameter type "Any", capable of holding values of any type. This is
needed by the "batch" command, as "Str" is not suitable type for the "methods"
parameter.
ticket 2007
This commit is contained in:
committed by
Martin Kosek
parent
2ac9d4816a
commit
135ccf89de
5
TODO
5
TODO
@@ -63,11 +63,6 @@ Command Line interface
|
||||
own replacement for optparse. The isn't way to make optparse deal with the
|
||||
global options the way Jason would like, so that's another motivation.
|
||||
|
||||
* All "comma-separated list of..." parameters should really be changed to
|
||||
multivalue and have a flag that tells the CLI whether a multivalue should
|
||||
be parsed as comma-separated. The List type currently satisfy this, but it
|
||||
would be nice to have a comma-separated multivalue of any type.
|
||||
|
||||
* Add a File param type so an argument may be read from a file. This is
|
||||
needed for cert-request to pass along the CSR.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user