require 'thor' require 'napa/generators' module Napa class CLI < Thor desc "version", "Shows the Napa version number" def version say Napa::VERSION end register(Generators::ScaffoldGenerator, 'new', 'new [app_path]', 'Create a scaffold for a new Napa service') register(Generators::ApiGenerator, 'generate:api', 'generate:api ', 'Create a Grape API, Model and Entity') end end