bin/snapshot in snapshot-0.6.0 vs bin/snapshot in snapshot-0.6.1
- old
+ new
@@ -13,11 +13,11 @@
class SnapshotApplication
include Commander::Methods
def run
program :version, Snapshot::VERSION
- program :description, 'CLI for \'Snapshot\' - Automate taking localized screenshots of your iOS app on every device'
+ program :description, 'CLI for \'snapshot\' - Automate taking localized screenshots of your iOS app on every device'
program :help, 'Author', 'Felix Krause <snapshot@krausefx.com>'
program :help, 'Website', 'https://fastlane.tools'
program :help, 'GitHub', 'https://github.com/krausefx/snapshot'
program :help_formatter, :compact
@@ -69,6 +69,11 @@
run!
end
end
-SnapshotApplication.new.run
\ No newline at end of file
+begin
+ FastlaneCore::UpdateChecker.start_looking_for_update('snapshot')
+ SnapshotApplication.new.run
+ensure
+ FastlaneCore::UpdateChecker.show_update_status('snapshot', Snapshot::VERSION)
+end