Sha256: cb36c1af30d3bf4dd74ece787841c1b0dc62a9aacd87c079aec1f338ca2b1016
Contents?: true
Size: 1.4 KB
Versions: 2
Compression:
Stored size: 1.4 KB
Contents
module Omnitest module Command class Generate < Thor namespace :generate autoload :Dashboard, 'omnitest/command/generators/dashboard' register Dashboard, 'dashboard', 'dashboard', 'Create a report dashboard' tasks['dashboard'].options = Dashboard.class_options autoload :Code2Doc, 'omnitest/command/generators/code2doc' register Code2Doc, 'code2doc', 'code2doc [PROJECT|REGEXP|all] [SCENARIO|REGEXP|all]', 'Generates documenation from sample code for one or more scenarios' tasks['code2doc'].options = Command::Generate::Code2Doc.class_options autoload :Documentation, 'omnitest/command/generators/documentation' register Documentation, 'generate', 'generate', 'Generates documentation, reports or other files from templates' tasks['generate'].options = Documentation.class_options tasks['generate'].long_description = <<-eos Generates documentation, reports or other files from templates. The templates may use Thor actions and Padrino helpers in order to inject data from Omnitest test runs, code samples, or other sources. Available templates: #{Command::Generate::Documentation.generator_names.join(', ')} You may also run it against a directory containing a template with the --source option. eos # FIXME: Help shows unwanted usage, e.g. "omnitest omnitest:command:report:code2_doc" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omnitest-0.2.2 | lib/omnitest/command/generate.rb |
omnitest-0.2.1 | lib/omnitest/command/generate.rb |