journal_manager.cli.commands.journal_commands.register module

journal_manager.cli.commands.journal_commands.register.get_parser(subparser_action=None)[source]
journal_manager.cli.commands.journal_commands.register.register(location_folder: Path, journal_title: str)[source]

Register an existing journal structure to the list of managed journals.

Parameters:
  • location_folder (Path) – Directory where the journal files are located

  • journal_title (str) – The title of the journal.

Raises:

InvalidLocation if the given location folder does not exist.