bin/fez in fezzik-0.6.2 vs bin/fez in fezzik-0.6.3

- old
+ new

@@ -7,10 +7,14 @@ # TODO: Add a handy "fez init" command to set up a basic deployable directory structure # TODO: Think about how to do domain overrides better # TODO: Add Fezzik::DSL so you can say env or destination instead of Fezzik.env, Fezzik.destination +# This constant can be used to determine whether fezzik is being used. You can use this, for example, to only +# load fezzik tasks in your Rakefile when running `fez ...` and not `rake ...`. +FEZZIK_ACTIVATED = true + def usage <<-EOF Version #{Fezzik::VERSION} fez <destination> <tasks> # Run deployment tasks on destination servers fez get <tasks> # Download tasks to use in your project @@ -79,10 +83,10 @@ fail end end case ARGV[0] -when nil then print_usage_and_exit +when nil, "-h" then print_usage_and_exit when "-T" then display_tasks_and_exit when "get" then download_tasks_and_exit else run_fezzik_tasks end