craftr.ext.options
¶
Utility functions to read options from the environment.
-
craftr.ext.options.
get_option
(name, inherit_global=True)¶ Reads the option name prefixed with the current module’s identifier from the environment and returns its value. If the option is not set and inherit_global is True, it will also try to find name without the module’s prefix. Returns None if the option does not exist at all.
This function has an alias
get()
.