lib/pieces/cli.rb in pieces-0.5.1 vs lib/pieces/cli.rb in pieces-0.6.0
- old
+ new
@@ -1,10 +1,7 @@
require 'thor'
-require 'pieces/config'
-require 'pieces/configurable'
-require 'pieces/builder'
-require 'pieces/generator'
+require 'pieces'
module Pieces
class CLI < Thor
desc 'init DIR', 'create new pieces app in DIR'
def init(path = '.')
@@ -22,10 +19,10 @@
map %w(s) => :server
desc 'server DIR', 'serve application in DIR'
def server(path = Dir.pwd)
- puts "Serving pieces from #{path}/build... "
+ puts "Serving pieces from #{path}... "
Pieces::Server.start(path: path)
end
map %w(--version -v) => :version