How to use the birdseye.main function in birdseye

To help you get started, we’ve selected a few birdseye examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lydgate / git-todo-py / todo.py View on Github external
def birdseye():
    try:
        import birdseye
    except ImportError:
        print "birdseye.py not found. You may get it from:"
        print "http://todo-py.googlecode.com/svn/trunk/birdseye.py"
        sys.exit()
    archive()
    birdseye.main([TODO_FILE, DONE_FILE])
github nuance / smarter-todo / todo.py View on Github external
def birdseye(args=[]):
    try:
        import birdseye
    except ImportError:
        print "birdseye.py not found. You may get it from:"
        print "http://todotxt.googlecode.com/svn/trunk/birdseye.py"
        sys.exit()
    archive()
    if len(args) != 0:
        args = [TODO_FILE, DONE_FILE, args[0]]
    else:
        args = [TODO_FILE, DONE_FILE]
    birdseye.main(args)