lib/hyde/cli.rb in hydeweb-0.2.2 vs lib/hyde/cli.rb in hydeweb-0.2.3
- old
+ new
@@ -1,5 +1,8 @@
+# Class: Hyde::CLI (Hyde)
+# Command line runner.
+
class Hyde
class CLI < Shake
autoload :Helpers, "#{PREFIX}/hyde/cli/helpers"
extend Helpers
@@ -190,9 +193,10 @@
end
end
def self.run!(options={})
@hydefile = options[:file]
+ project rescue nil
super *[]
end
end
end