journal_manager.cli.commands.journal_commands.edit module

journal_manager.cli.commands.journal_commands.edit.edit(journal_name: str)[source]

Edit journal files.

Opens the mkdocs.yml file for edition using the default editor specified in the file pointed by JOURNAL_MANAGER_CONFIG_FOLDER.

Parameters:

journal_name (str) – The name of a journal in the registry. If empty a list with the last three modified journals appears for selection.

Raises:
  • NotImplementedError if the requested editor application is not supported.

  • InvalidName if the journal name is not registered.

  • InvalidAttribute if no text editor has been set.

journal_manager.cli.commands.journal_commands.edit.get_parser(subparser_action=None)[source]