Sha256: 016d9c30e5b92c1eb392b5c0204a12cedcab9e8c6154fd5465ab9e1cdc3401ff
Contents?: true
Size: 821 Bytes
Versions: 1
Compression:
Stored size: 821 Bytes
Contents
require 'thor' require_relative './cli' module GemBootstrap class MainCLI < Thor register GemBootstrap::CLI, 'generate', 'generate', 'Generate the starting template for CLI' desc 'usage', 'Display help screen' def usage generate_usage = <<-EOT Usage/Synopsis: $gem_bootstrap [GEM_NAME] -g, --github-id [GITHUB_ID] -e, --email [EMAIL] -a, --author [AUTHOR] --test-framework [FRAMEWORK] e.g. create a gem name 'awesome_gem' $gem_bootstrap awesome_gem -g awesome_developer -e cool@awesomedev.com -a 'John Guru II' Choose test framework --test-framework or -t (defaults to minitest) $gem_bootstrap awesome_gem -g awesome_developer -e cool@awesomedev.com -a 'John Guru II' -t rspec EOT puts generate_usage end default_task :usage end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gem_bootstrap-0.2.4 | lib/gem_bootstrap/gem_bootstrap.rb |