python-fhs
Python module for using the FHS and XDG basedir paths.

◆ get_config()

def fhs.get_config (   extra = False)

Retrieve commandline configuration.

Return the stored result of parsing the commandline and reading the config file.

If init() was not yet called, it is called implicitly with default settings.

Parameters
extraif True, return dict of which values were not using their defaults as well.
Returns
configuration dict, and possibly present dict, with the same format as the return value of init().

Definition at line 707 of file fhs.py.

Here is the call graph for this function: