gym/lib/gym/commands_generator.rb in fastlane-2.6.0 vs gym/lib/gym/commands_generator.rb in fastlane-2.7.0
- old
+ new
@@ -30,20 +30,20 @@
program :help_formatter, :compact
global_option("--verbose") { $verbose = true }
command :build do |c|
- c.syntax = "gym"
+ c.syntax = "fastlane gym"
c.description = "Just builds your app"
c.action do |_args, options|
config = FastlaneCore::Configuration.create(Gym::Options.available_options,
convert_options(options))
Gym::Manager.new.work(config)
end
end
command :init do |c|
- c.syntax = "gym init"
+ c.syntax = "fastlane gym init"
c.description = "Creates a new Gymfile for you"
c.action do |_args, options|
containing = (File.directory?("fastlane") ? 'fastlane' : '.')
path = File.join(containing, Gym.gymfile_name)
UI.user_error! "Gymfile already exists" if File.exist?(path)