Sha256: ca38387bb24c7f387b0b72d541b6239dd16dc28bfa46ea41105ec5c7e54c4042

Contents?: true

Size: 1.25 KB

Versions: 7

Compression:

Stored size: 1.25 KB

Contents

#!/usr/bin/env ruby

# ---------------------------------------------------------------------
# This file is part of Taskr (http://ruby-taskr.googlecode.com/).
#
# Taskr is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Taskr is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Taskr.  If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------

if File.exists?(picnic = File.expand_path(File.dirname(File.expand_path(__FILE__))+'/../vendor/picnic/lib'))
  $: << picnic
elsif File.exists?(picnic = File.expand_path(File.dirname(File.expand_path(__FILE__))+'/../../picnic/lib'))
  $: << picnic
else
  require 'rubygems'
end

require 'picnic/cli'

cli = Picnic::Cli.new(
  'taskr',
  :app_path => File.expand_path(File.dirname(File.expand_path(__FILE__)))
)

cli.handle_cli_input

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
dvdplm-taskr-0.3.1 bin/taskr
dvdplm-taskr-0.3.2 bin/taskr
taskr-0.2.1 bin/taskr
taskr-0.1.0 bin/taskr
taskr-0.2.0 bin/taskr
taskr-0.4.0 bin/taskr
taskr-0.3.0 bin/taskr