Rework exporter #10
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "rework_export"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Looks good, only some minor things
@ -42,0 +50,4 @@
exported_text = blocklist_to_markdown(blocklist, private)
if output is not None:
with open(output, "w") as f:
f.write(exported_text)
Isn't this a duplication of line 60-62?
@ -54,2 +80,4 @@
parser.add_argument('-v', '--verbose', action='store_true')
parser.add_argument('-n', '--no-delete', action='store_true', help="Do not delete existing blocks")
parser.add_argument('--format', help="Export format: toml|markdown")
parser.add_argument('--private', action='store_true', help="When the flag is set private comment will also be "
Adding a
,
afteris set
helps to understand this easier :D (I was super confused when reading this first)