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