Skip to content

Commit

Permalink
updated command description
Browse files Browse the repository at this point in the history
  • Loading branch information
bboc committed Jan 3, 2017
1 parent 38f2d1f commit 177a41d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tdconv/tdconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from __future__ import unicode_literals

import argparse
from textwrap import dedent

from markdown import CsvToMarkdownConverter
from opml import OpmlToCsvConverter, CsvToOpmlConverter
Expand Down Expand Up @@ -33,12 +34,15 @@ def convert(args):

def main():
parser = argparse.ArgumentParser(
description='Convert todoist template files to other formats.')
description=dedent("""Convert Todoist template files (and Todoist backups) to other formats.
To convert an entire backup use
ls -bp | xargs -I xx tdconv -df taskpaper "xx"
"""))

parser.add_argument('--verbose', '-v', action='count', default=0,
help='increase level of verbosity (repeat up to 3 times)')
parser.add_argument('--format', '-f', default='md',
help='format of target file: md, opml, todoist')
help='format of target file: md, opml, todoist, taskpaper')
parser.add_argument('--download', '-d', action="store_true", default=False,
help='download attachments')
parser.add_argument('file',
Expand Down

0 comments on commit 177a41d

Please sign in to comment.