bin/match in match-0.1.2 vs bin/match in match-0.2.0

- old
+ new

@@ -7,12 +7,14 @@ HighLine.track_eof = false class MatchApplication include Commander::Methods + UI = FastlaneCore::UI # rubocop:disable Metrics/MethodLength + # rubocop:disable Metrics/AbcSize def run program :version, Match::VERSION program :description, Match::DESCRIPTION program :help, 'Author', 'Felix Krause <match@krausefx.com>' program :help, 'Website', 'https://fastlane.tools' @@ -66,10 +68,22 @@ Match::Setup.new.run(path) end end + command :change_password do |c| + c.syntax = 'match change_password' + c.description = 'Re-encrypt all files with a different password' + c.action do |args, options| + params = FastlaneCore::Configuration.create(Match::Options.available_options, options.__hash__) + params.load_configuration_file("Matchfile") + + Match::ChangePassword.update(params: params) + UI.success "Successfully changed the password. Make sure to update the password on all your clients and servers" + end + end + command "nuke" do |c| # We have this empty command here, since otherwise the normal `match` command will be executed c.syntax = "match nuke" c.description = "Delete all certificates and provisioning profiles from the Apple Dev Portal" c.action do |args, options| @@ -92,9 +106,10 @@ default_command :run run! end # rubocop:enable Metrics/MethodLength + # rubocop:enable Metrics/AbcSize end begin FastlaneCore::UpdateChecker.start_looking_for_update('match') MatchApplication.new.run