Class: ThorTemplate::CLI::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/thor_template/cli/help.rb,
lib/starter_project/lib/thor_template/cli/help.rb

Class Method Summary collapse

Class Method Details

.generateObject



5
6
7
8
9
10
11
12
13
# File 'lib/thor_template/cli/help.rb', line 5

def generate
<<-EOL
Examples:

$ thor_template new hello

$ thor_template new another_project
EOL
end

.helloObject



5
6
7
8
9
# File 'lib/starter_project/lib/thor_template/cli/help.rb', line 5

def hello
<<-EOL
Hello world example
EOL
end