absl.flags package
Submodules
Module contents
This package is used to define and parse command line flags.
This package defines a distributed flag-definition policy: rather than an application having to define all flags in or near main(), each Python module defines flags that are useful to it. When one Python module imports another, it gains access to the other’s flags. (This is implemented by having all modules share a common, global registry object containing all the flag information.)
Flags are defined through the use of one of the DEFINE_xxx functions. The specific function used determines how the flag is parsed, checked, and optionally type-converted, when it’s seen on the command line.