[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] flags vs. bool options



I've noticed that in some of our extensions, we are defining parameters as boolean options instead of using flags. It seems more intuitive to have a CLI users and much more in line with most other Linux commands to specify (for example):

--ssl-verify

instead of:

--ssl-verify=true

and requires far less handling/conversion/validation in our code.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]