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

Add functionality to run in one command via CLI #5

Open
jeremylaratro opened this issue Oct 7, 2022 · 0 comments
Open

Add functionality to run in one command via CLI #5

jeremylaratro opened this issue Oct 7, 2022 · 0 comments

Comments

@jeremylaratro
Copy link
Owner

Arg parse has been added, but the functions are still inherently interactive.
Add functionality to run the script via a CLI one-liner, ie:

python3.py PhotoSec.py -r --name 'file_' --image path/to/images

Implementation ideas:

  • Create a separate file for this method, remove prompts, and arg parse options
  • Incorporate if statements to check which method was chosen, and don't ask prompts if non-interactive version was chosen
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

No branches or pull requests

1 participant