Sha256: 3d4891023c3f491cbe6a38753a07c214d8881a6170b375f268191687976cf030

Contents?: true

Size: 625 Bytes

Versions: 5

Compression:

Stored size: 625 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]

e.g. create a gem name 'awesome_gem'
$gem_bootstrap awesome_gem -g awesome_developer -e cool@awesomedev.com -a 'John Guru II'

      EOT
      puts generate_usage
    end

    default_task :usage
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gem_bootstrap-0.2.2 lib/gem_bootstrap/gem_bootstrap.rb
gem_bootstrap-0.2.1 lib/gem_bootstrap/gem_bootstrap.rb
gem_bootstrap-0.2.0 lib/gem_bootstrap/gem_bootstrap.rb
gem_bootstrap-0.1.3 lib/gem_bootstrap/gem_bootstrap.rb
gem_bootstrap-0.1.2 lib/gem_bootstrap/gem_bootstrap.rb