lib/foodie/cli.rb in foodie-oscarpay4-test-0.1.0 vs lib/foodie/cli.rb in foodie-oscarpay4-test-0.2.0

- old
+ new

@@ -1,12 +1,13 @@ -require 'thor' -require 'foodie/food' -require 'foodie/generators/recipe' +# frozen_string_literal: true +require "thor" +require "foodie/food" +require "foodie/generators/recipe" + module Foodie class CLI < Thor - desc "portray ITEM", "Determines if a piece of food is gross or delicious" def portray(name) puts Foodie::Food.portray(name) end @@ -18,8 +19,7 @@ desc "recipe", "Generates a recipe scaffold" def recipe(group, name) Foodie::Generators::Recipe.start([group, name]) end - end -end \ No newline at end of file +end