Class: GemBootstrap::MainCLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/gem_bootstrap/gem_bootstrap.rb

Instance Method Summary collapse

Instance Method Details

#usageObject



11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/gem_bootstrap/gem_bootstrap.rb', line 11

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 [email protected] -a 'John Guru II'

  EOT
  puts generate_usage
end