Class: Skellington::CLI
- Inherits:
-
Thor
- Object
- Thor
- Skellington::CLI
- Defined in:
- lib/skellington/cli.rb
Instance Method Summary collapse
Instance Method Details
#generate(wormname) ⇒ Object
21 22 23 24 25 |
# File 'lib/skellington/cli.rb', line 21 def generate wormname @g = Generator.new wormname, @g.licensor = [:licensor] @g.run end |
#postinstall ⇒ Object
29 30 31 32 33 34 |
# File 'lib/skellington/cli.rb', line 29 def postinstall s = 'For some other things you might find useful, see this gist:' s << "\n\n" s << ' https://gist.github.com/pikesley/1789cab7b10f0d8765d4' puts s end |
#version ⇒ Object
4 5 6 |
# File 'lib/skellington/cli.rb', line 4 def version puts "skellington version #{VERSION}" end |