diff --git a/src/jimmy_cli.py b/src/jimmy_cli.py index b959223..26e7b95 100644 --- a/src/jimmy_cli.py +++ b/src/jimmy_cli.py @@ -64,6 +64,12 @@ def main(): choices=(None, "all", "joplin", "obsidian", "qownnotes"), help="Frontmatter type.", ) + # TODO: test and document + parser.add_argument( + "--title-as-header", + action="store_true", + help="Add the title as header in the first row.", + ) parser.add_argument( "--output-folder", type=Path, diff --git a/test/test_convert.py b/test/test_convert.py index 7fda272..7752d5e 100644 --- a/test/test_convert.py +++ b/test/test_convert.py @@ -35,6 +35,7 @@ def setUp(self): self.config = SimpleNamespace( format=None, password=password, + title_as_header=False, frontmatter=None, global_resource_folder=None, local_resource_folder=Path("."), @@ -225,7 +226,7 @@ def test_default_format(self, test_name, test_input): reference = reference_data.parent / (reference_data.name + f" {index}") self.assert_dir_trees_equal(actual_data, reference) - @parameterized.expand(["all", "joplin", "obsidian"]) + @parameterized.expand(["all", "joplin", "obsidian"]) # TODO: qownnotes def test_frontmatter(self, frontmatter): """Test the frontmatter generation."""