26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# File 'lib/xcov/commands_generator.rb', line 26
def run
program :version, Xcov::VERSION
program :description, Xcov::DESCRIPTION
program :help, "Author", "Carlos Vidal <[email protected]>"
program :help, "Website", "http://www.nakiostudio.com"
program :help, "GitHub", "https://github.com/nakiostudio/xcov"
program :help_formatter, :compact
global_option("--verbose") { $verbose = true }
command :report do |c|
c.syntax = "Xcov"
c.description = Xcov::DESCRIPTION
c.action do |_args, options|
config = FastlaneCore::Configuration.create(Xcov::Options.available_options, convert_options(options))
Xcov::Manager.new(config).run()
end
end
default_command :report
run!
end
|