lib/eucalypt/eucalypt-blog/namespaces/blog/cli/blog.rb in eucalypt-0.1.3 vs lib/eucalypt/eucalypt-blog/namespaces/blog/cli/blog.rb in eucalypt-0.2.0
- old
+ new
@@ -9,11 +9,11 @@
include Eucalypt::Helpers
include Eucalypt::Helpers::Messages
include Eucalypt::Helpers::Gemfile
using Colorize
- method_option :route, type: :string, aliases: '-r', default: 'blog', desc: "The route at which the blog lies"
- desc "setup", "Sets up the blog-aware environment".colorize(:grey)
+ option :route, type: :string, aliases: '-r', default: 'blog', desc: "The route at which the blog lies"
+ desc "setup", "Sets up the blog environment".colorize(:grey)
def setup
directory = File.expand_path('.')
if Eucalypt.app? directory
Out.setup 'Setting up blog environment...'
\ No newline at end of file