majd / ipatool

Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store
MIT License
5.37k stars 470 forks source link

ENV for country arguments #103

Closed Magic-Unique closed 1 year ago

Magic-Unique commented 1 year ago

Description

Add IPATOOL_COUNTRY to environment to auto set this value when use ipatool.

majd commented 1 year ago

I am generally against the idea of using environment variables in place of CLI arguments. The only reason IPATOOL_EMAIL, IPATOOL_PASSWORD and IPATOOL_2FA_CODE environment variables exist is to make it easier to use ipatool with automation as the tool would otherwise require an interactive session for accepting those inputs.