Permalink
Browse files

allow monkey-patching of Blimpy by the project (mainly to add more co…

…mmands)
  • Loading branch information...
1 parent 4624166 commit 85b2ceb8f10b458952efa35b0d1246483dbdcd5d @kohsuke kohsuke committed Dec 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/blimpy
View
@@ -17,5 +17,9 @@ rescue LoadError
require 'blimpy/cli'
end
+# allow monkey-patching of Blimpy by the project (mainly to add more commands)
+blimprc = File.join(Dir.pwd,"Blimprc")
+Blimpy.load_file File.open(blimprc).read if File.exists? blimprc
+
Blimpy::CLI.start
exit 0

0 comments on commit 85b2ceb

Please sign in to comment.