Permalink
Browse files

add consular bin

  • Loading branch information...
1 parent b521b05 commit 23bb374fcb750386a5bbdc04eba07ad7048aa316 @achiu committed Oct 9, 2011
Showing with 13 additions and 0 deletions.
  1. +13 −0 bin/consular
View
@@ -0,0 +1,13 @@
+#!/usr/bin/env ruby
+require File.expand_path('../../lib/consular',__FILE__)
+
+rc = File.join(ENV['HOME'], '.consularc')
+
+# Execute the configuration in our consularc
+# if it exists.
+#
+if File.exists?(rc)
+ instance_eval File.read(rc), __FILE__, __LINE__
+end
+
+Consular::CLI.start(ARGV)

0 comments on commit 23bb374

Please sign in to comment.