lib/phoenix-cli/cli.rb in phoenix-cli-0.1.0 vs lib/phoenix-cli/cli.rb in phoenix-cli-0.1.1
- old
+ new
@@ -7,9 +7,13 @@
module PhoenixCli
class CLI < Thor
include Thor::Actions
map %w(-v --version) => :version
+ map %w(db:drop) => :db_drop
+ map %w(db:migrate) => :db_migrate
+ map %w(db:create) => :db_create
+ map %w(db:dump) => :db_dump
desc "install", "Install framework"
def install
exec('mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez')
end