Skip to content

Commit

Permalink
cli tool now outputs json
Browse files Browse the repository at this point in the history
  • Loading branch information
alexduryee committed Dec 21, 2015
1 parent 07f470c commit d7494df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bin/timetwister
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env ruby

require 'timetwister'
p Timetwister.parse(ARGV[0])
require 'json'

puts Timetwister.parse(ARGV[0]).to_json
2 changes: 1 addition & 1 deletion lib/timetwister/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Timetwister
VERSION = "0.2.0"
VERSION = "0.2.2"
end

0 comments on commit d7494df

Please sign in to comment.