lib/repl.rb in runeblog-0.1.34 vs lib/repl.rb in runeblog-0.1.35

- old
+ new

@@ -63,10 +63,16 @@ def cmd_tags(arg, testing = false) Dir.chdir(@blog.root + "/views/" + @blog.view.name) edit_file("tagpool") end + def cmd_import(arg, testing = false) + check_empty(arg) + files = ask("\n File(s) = ") + system("cp #{files} #{@blog.root}/views/#{@blog.view.name}/assets/") + end + def cmd_browse(arg, testing = false) reset_output check_empty(arg) url = @blog.view.publisher.url if url.nil? @@ -329,9 +335,11 @@ customize Change set of tags, extra views p, post Create a new post new post Same as post (create a post) + + import ASSETS Import assets (images, etc.) lsp, list posts List posts in current view lsd, list drafts List all posts regardless of view