Sha256: e6d09e4c909eb8fb025e79a16c52f1f19c106aa1b290ac092322a0d4c3d72cad
Contents?: true
Size: 533 Bytes
Versions: 9
Compression:
Stored size: 533 Bytes
Contents
require "thor" module Dry module Web module Roda class CLI class Generate < Thor desc "generate app APP", "Generate an app within a dry-web umbrella" option :umbrella, required: true, banner: "UMBRELLA_NAME", desc: "Provide the name of the umbrella app, e.g. my_project" def app(app_name) require "dry/web/roda/generators/app" Dry::Web::Roda::Generators::App.new.(app_name, umbrella: options[:umbrella]) end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems