Oliver-Akins / Switcheroo

A simple way to re-organize Nintendo Switch photos based on the game and date.
GNU General Public License v3.0
0 stars 0 forks source link

Command line argument #10

Open Oliver-Akins opened 4 years ago

Oliver-Akins commented 4 years ago

There should be an easy way for a user to overwrite a specific game ID, we can achieve this by reading sys.argv: string[] to check if the user gave any command line arguments. If the first argument is manage this is going to be the default behaviour even without a command line argument, which will allow us to keep the arguments simple for those users who do not care.

For users who want to overwrite a title id, they can do so by triggering the program in the following manner:

python3 compiled.py titleid <title_id> <Title To Use...>