Sha256: d05eab619f94fb55be5e3cbda3469b1d59353ffa513ad87b46e752ca22062187
Contents?: true
Size: 424 Bytes
Versions: 1
Compression:
Stored size: 424 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/nin' config = { integrated_client: ENV['NIN_INTEGRATION_CLIENT'], integrated_client_token: ENV['NIN_INTEGRATION_CLIENT_TOKEN'] } begin Nin::Command.new(ARGV[0], ARGV[1..-1], config).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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nin-1.2.0 | bin/nin |