Sha256: 5d6e1df07cef5fb6b08adc31e865efeebf9f58a1179cda07c2fa0f91f4ca56f8
Contents?: true
Size: 529 Bytes
Versions: 1
Compression:
Stored size: 529 Bytes
Contents
require 'rubygems' require 'commander/import' require 'blueprint' require 'blueprint/generator/rails_app' program :name, 'blueprint' program :version, Blueprint::VERSION program :description, 'Rails application starter used at datarockets' command :new do |c| c.syntax = 'blueprint new APP_PATH' c.summary = 'Generate rails application' c.description = 'Generate rails application with default settings and dependecies' c.action do |args, _options| Blueprint::Generator::RailsApp.new(name: args[0]).run! end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blueprint-0.2.0 | lib/blueprint/cli.rb |