bin/bluth in bluth-0.6.1 vs bin/bluth in bluth-0.6.7
- old
+ new
@@ -40,14 +40,14 @@
end
global :v, :verbose, "Increase output" do
@verbose ||= 0
@verbose += 1
end
- global :I, String, "Add a load path" do |v|
+ global :I, :include, String, "Add a load path" do |v|
$LOAD_PATH << v
end
- global :r, String, "Require a library" do |v|
+ global :R, :require, String, "Require a library" do |v|
$LOAD_PATH << 'lib' if File.exists? 'lib'
begin
require v
rescue LoadError => ex
puts ex.message
@@ -61,10 +61,10 @@
before do |obj|
obj.global.environment ||= 'dev'
Bluth.env = obj.global.environment
end
-
+
#TODO: command :enqueue
command :start_worker => Bluth::CLI
command :start_scheduler => Bluth::CLI
\ No newline at end of file