cf-ip-scanner-py icon indicating copy to clipboard operation
cf-ip-scanner-py copied to clipboard

feat: using argparse to create a CLI:

Open shabane opened this issue 1 year ago • 0 comments

 this feature will make user to use the script from command line

with some arguments that specified by the user.

with this aproach there is no need to prompt user for any input. script will use the config.ini if user does not pass any args, or user can choose other path for config.ini or pass each args with coresponding switch.

if any switch does not pass to the script, script will use the default value in define in the script it self.

i modify the code because i think with this modification running this code on docker now is easier and better. why docker? its cheepter than any other iran server. i will try to write a dockerfile and docker-compose file as well as this.

thank you for your hard work and try to make the internet better for us :)

shabane avatar May 07 '24 19:05 shabane