Sha256: 3087131df3bc909514be36af63258ee19b5648bb5f71c14c38a40af515a02b27
Contents?: true
Size: 822 Bytes
Versions: 1
Compression:
Stored size: 822 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.3 | lib/gem_bootstrap/gem_bootstrap.rb |