Nathan Beals 4 lat temu
rodzic
commit
b8d4812106
1 zmienionych plików z 2 dodań i 8 usunięć
  1. 2 8
      keep_exporter/cli.py

+ 2 - 8
keep_exporter/cli.py

@@ -14,8 +14,7 @@ import frontmatter
 import gkeepapi
 import gkeepapi
 from configobj import ConfigObj
 from configobj import ConfigObj
 
 
-# from .export import *
-from keep_exporter.export import build_frontmatter  # login,
+
 from keep_exporter.export import (
 from keep_exporter.export import (
     LocalNote,
     LocalNote,
     build_markdown,
     build_markdown,
@@ -226,19 +225,14 @@ def main(
     delete_local: bool,
     delete_local: bool,
     rename_local: bool,
     rename_local: bool,
     date_format: str,
     date_format: str,
-    iso8601: Any,
     skip_existing_media: bool,
     skip_existing_media: bool,
+    iso8601: Any,
     config: str,  # required to be here, despite being as-of-yet unused.
     config: str,  # required to be here, despite being as-of-yet unused.
 ):
 ):
     """A simple utility to export google keep notes to markdown files with metadata stored as a frontmatter header."""
     """A simple utility to export google keep notes to markdown files with metadata stored as a frontmatter header."""
 
 
     notepath = pathlib.Path(directory).resolve()
     notepath = pathlib.Path(directory).resolve()
     mediapath = notepath.joinpath("media/")
     mediapath = notepath.joinpath("media/")
-
-    print(date_format)
-    print(iso8601)
-    quit()
-
     if ctx.invoked_subcommand is not None:
     if ctx.invoked_subcommand is not None:
         return False
         return False