Module: Cinch::BotTemplate::Descs::Gen

Defined in:
lib/cinch/bot_template/desc/gen.rb

Class Method Summary collapse

Class Method Details

.GenObject



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/cinch/bot_template/desc/gen.rb', line 8

def Gen
  ERB.new(
  "  --'<%= Paint['\#{Pathname($PROGRAM_NAME).basename} gen', 'orange', :bold ] %>' will prompt for information\n  --then will generate the following when given no other options.\n  --* executable bot file\n  --* config file\n  --* optimal directory structure\n  <%= Paint['MULTI SERVER USE', 'white', :bold] %>:\n  --If '--multi-server' or '-m' is used, the generator will\n  --output a config and/or bot file that is set in a way to\n  --allow multiple networks/servers.\n  GEN\n  ).result\nend\n"