screengrab/lib/screengrab/commands_generator.rb in fastlane-2.6.0 vs screengrab/lib/screengrab/commands_generator.rb in fastlane-2.7.0
- old
+ new
@@ -25,11 +25,11 @@
always_trace!
FastlaneCore::CommanderGenerator.new.generate(Screengrab::Options.available_options)
command :run do |c|
- c.syntax = 'screengrab'
+ c.syntax = 'fastlane screengrab'
c.description = 'Take new screenshots based on the screengrabfile.'
c.action do |args, options|
o = options.__hash__.dup
o.delete(:verbose)
@@ -41,10 +41,10 @@
Screengrab::Runner.new.run
end
end
command :init do |c|
- c.syntax = 'screengrab init'
+ c.syntax = 'fastlane screengrab init'
c.description = "Creates a new Screengrabfile in the current directory"
c.action do |args, options|
require 'screengrab/setup'
path = (Screengrab::Helper.fastlane_enabled? ? './fastlane' : '.')