23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# File 'lib/souyuz/commands_generator.rb', line 23
def run
program :version, Souyuz::VERSION
program :description, Souyuz::DESCRIPTION
program :help, "Author", "Felix Rudat <[email protected]>"
program :help_formatter, :compact
global_option("--verbose") { $verbose = true }
command :build do |c|
c.syntax = "souyuz"
c.description = "Just builds your app"
c.action do |_args, options|
config = FastlaneCore::Configuration.create(Souyuz::Options.available_options,
convert_options(options))
Souyuz::Manager.new.work(config)
end
end
default_command :build
run!
end
|