TPRoberts / svnZipper

SVN Zipper for LeeDrOiD.co.uk
0 stars 0 forks source link

cli arguments? #1

Open Vladislav-Ilcheff opened 6 years ago

Vladislav-Ilcheff commented 6 years ago

Hello,

I'm not good at python(still learning) and I have one question:

Is it possible to add ability to use command line arguments - like svnzipper --option1='value' --option2='value'?

The idea is to be able to run it non interactively, for example running it on cron.

TPRoberts commented 6 years ago

Sorry for the late reply. I kept forgetting.

Yeah this always the planned to do although I never got around to it. I will add them the next time I do a update, I am sure that will be soon as LeeDrOiD is getting the HTC U12+. So it will need to be update it for that, however I might actually scrap this and make a shell scripts and power shell (for windows).

However you are using cron you may have some experience in shell scripting. You could easily make a script using the standard svn and zip binaries in Linux/Unix. That's if you need something sooner.