10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'lib/indoctrinatr/tools/commands/doc.rb', line 10
def call(template_pack_name:, **options)
template_pack_name = CommandAutocompleteHelpers.handle_autocomplete(template_pack_name)
keep_aux_files = options.fetch(:keep_aux_files)
Indoctrinatr::Tools::Transactions::TemplatePackDocumentation.new.call(template_pack_name:, keep_aux_files:) do |result|
result.success do |message|
puts message
end
result.failure do |message|
puts message
exit 1
end
end
end
|