lib/bunto/commands/new_theme.rb in bunto-3.2.1 vs lib/bunto/commands/new_theme.rb in bunto-3.4.5

- old
+ new

@@ -14,10 +14,11 @@ Bunto::Commands::NewTheme.process(args, opts) end end end + # rubocop:disable Metrics/AbcSize def process(args, opts) if !args || args.empty? raise Bunto::Errors::InvalidThemeName, "You must specify a theme name." end @@ -26,11 +27,12 @@ if theme.path.exist? Bunto.logger.abort_with "Conflict:", "#{theme.path} already exists." end theme.create! - Bunto.logger.info "Your new Bunto theme, #{theme.name}," \ - " is ready for you in #{theme.path}!" + Bunto.logger.info "Your new Bunto theme, #{theme.name.cyan}," \ + " is ready for you in #{theme.path.to_s.cyan}!" Bunto.logger.info "For help getting started, read #{theme.path}/README.md." end + # rubocop:enable Metrics/AbcSize end end