Skip to content

Instantly share code, notes, and snippets.

@schneiderfelipe
Last active September 6, 2018 02:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schneiderfelipe/3cf6f78ae5c52d605f1b32bc82f87bd4 to your computer and use it in GitHub Desktop.
Save schneiderfelipe/3cf6f78ae5c52d605f1b32bc82f87bd4 to your computer and use it in GitHub Desktop.
Proposals for a todo command line application that does topological sorting.
"""
$ issue create # checks TODO.txt in current or ancestor directory
(B) My issue #1 +Project
1
$ # Syntax from https://github.com/todotxt/todo.txt
$ issue create
(A) Done after:#1
2
$ issue work 1
$ issue close 1
$ issue list
(A) Done after:#1
"""
# Implement a collections.abc.MutableSequence
class todopq:
def __init__():
pass
def create(description, creation_date=None, done_date=None, priority=None, done=False):
"""
Undestand "+Milestone", "@Tag" and "key:value". Use PyParsing.
"""
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment