Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 29 lines (25 sloc) 684 Bytes
#! /usr/bin/env ruby
# == Synopsis
# OTask provides CLI functionality for adding tasks to OmniFocus.
#
# == Usage
# otask [options] "Task string"
#
# For help use: otask -h
#
# == Options
# -h, --help Displays help message
# -q, --quiet Output as little as possible, overrides verbose
# -V, --verbose Verbose output
# -g, --growl Use Growl for feedback
# -l, --list [TYPE] List all projects or contexts
#
# == Author
# Brett Terpstra
#
# == Copyright
# Copyright (c) 2014 Brett Terpstra. Licensed under the MIT License:
# http://www.opensource.org/licenses/mit-license.php
require 'otask'
app = OTask.new(ARGV, STDIN)
app.run