bin/pave in pave-0.0.7 vs bin/pave in pave-0.0.8

- old
+ new

@@ -15,17 +15,35 @@ info "pave - Command line tools for Concrete5." info "By Jamon Holmgren" case command.to_sym when :new then Pave::Concrete.create(opt) + when :help then show_help + when :virtualhost then info "`virtualhost` command not implemented yet." + when :dbcreate then info "`dbcreate` command not implemented yet." + when :db then info "`db` command not implemented yet." else show_help end 0 # Good! end def self.show_help - info "Invalid." + info "Commands:" + info " new <websitename>" + info " Downloads and configures a new Concrete5 website." + info "" + info "Future commands (not implemented yet):" + info " virtualhost <domain>" + info " Sets up a new virtualhost on Apache, pointing to the current folder." + info " dbcreate <dbname>" + info " Sets up a new database on the local MySQL instance." + info " db dump" + info " Dumps the current database to a local file." + info " db download" + info " Downloads the remote database and replaces the local database with it." + info " db upload" + info " Uploads the local database to the remote one, replacing what's there." end def self.create(name) info "Creating #{name}..." sleep 2