bin/pave in pave-0.6.6 vs bin/pave in pave-0.7.0
- old
+ new
@@ -203,9 +203,27 @@
name = args.first || "#{File.basename(Dir.pwd)}"
Pave::Database.new(name).push
end
end
+command :"files:pull" do |c|
+ c.syntax = "pave files:pull"
+ c.description = "Download the project's live files directory."
+ c.action do |args|
+ remote = args.first || "live"
+ Pave::Files.pull(remote)
+ end
+end
+
+command :"files:push" do |c|
+ c.syntax = "pave files:push"
+ c.description = "Upload the project's local files directory."
+ c.action do |args|
+ remote = args.first || "live"
+ Pave::Files.push(remote)
+ end
+end
+
command :"generate:theme" do |c|
c.syntax = "pave generate:theme THEME_NAME"
c.description = "Set up a blank theme with sass."
c.action do |args|
name = args.first || "#{File.basename(Dir.pwd)}"