Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: using argparse to create a CLI: #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

shabane
Copy link

@shabane shabane commented May 7, 2024

 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 :)

     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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant