CLI Interface
Configuration handling
This module provides functions for retreiving the configuration from the config file and loading the end-user’s implementations of a Zettelkasten and a Zettel.
- xettel.config.config
a dictionnary corresponding to the user’s configuration.
- Type
MutableMapping[str, Any]
- xettel.config.ZK_CLASS
a subclass of
xettel.base.Zettelkasten.Zettelkasten
chosen by the user as the class to use for managing the Zettelkasten.- Type
Type[Zettelkasten]
- xettel.config.Z_CLASS
a subclass of
xettel.base.ZettelFile.ZettelFile
chosen by the user to use for managing individual Zettels.- Type
Type[Zettel]
- xettel.config.load_implementations() None
Loads user defined classes. Must be put in the directory “impl” of the config directory.
- xettel.config.pursue_read_command_check() None
Errors if the database cannot be queried and prints a nice message, nop otherwise.