Sha256: 226d2ce925e4b3f8ba97ab86f5d6a88e1712f8373ef1081d81677b55bc0b50a5

Contents?: true

Size: 287 Bytes

Versions: 3

Compression:

Stored size: 287 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/nin'

begin
  Nin::Command.new(ARGV[0], ARGV[1..-1]).call
rescue Nin::ItemNotFoundError
  puts "Todo item does not exist"
rescue Nin::EmptyCommandArgumentError
  puts "Command argument cannot be empty\nRun nin to view the USAGE message"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nin-1.0.1 bin/nin
nin-1.0.0 bin/nin
nin-0.7.0 bin/nin