This is a minor UX fix to move the password/key prompts after handling the export actions. Otherwise it's possible that a user may be prompted to enter (a possibly long and complicated) secret only to have the the tool exit due to having an invalid action specified.
This is a minor UX fix to move the password/key prompts after handling the export actions. Otherwise it's possible that a user may be prompted to enter (a possibly long and complicated) secret only to have the the tool exit due to having an invalid action specified.