Skip to content

Commit

Permalink
Merge pull request #164 from theodi/bugfix-fixes-for-cli
Browse files Browse the repository at this point in the history
Fixes for CLI
  • Loading branch information
Sam Pikesley committed Oct 20, 2015
2 parents abcb0ae + ebf976f commit 2f797a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/csvlint
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ $:.unshift File.join( File.dirname(__FILE__), "..", "lib")

require 'csvlint/cli'

Csvlint::Cli.start
if ARGV == ["help"]
Csvlint::Cli.start(["help"])
else
Csvlint::Cli.start(ARGV.unshift("validate"))
end
1 change: 1 addition & 0 deletions csvlint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "typhoeus"
spec.add_dependency "escape_utils"
spec.add_dependency "uri_template"
spec.add_dependency "thor"

spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
Expand Down

0 comments on commit 2f797a7

Please sign in to comment.