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

Suggestion: submitAX.py command line option support #56

Closed
DavidAntliff opened this issue May 8, 2017 · 0 comments
Closed

Suggestion: submitAX.py command line option support #56

DavidAntliff opened this issue May 8, 2017 · 0 comments

Comments

@DavidAntliff
Copy link

It would be helpful to support the specification of a student's email address and assignment token on the command line, to help reduce needless retyping and support integration with IDEs (for configuring submit macros).

E.g.

python submitA1.py ---email username@email.com --token ABCDEF12345678

If omitted, the program would prompt as it does now.

Also, consider allowing specification of the parts to submit:

python submitA1.py --part 1
python submitA1.py --part 1 --part 2
python submitA1.py --part all

Easily implemented with argparse and I can submit a PR on A1's script if it will be considered - please advise.

Extended support might include lists and ranges, but this is less important:

python submitA1.py --part 1,2,3   # list
python submitA1.py --part 1-3     # range
@xserra xserra closed this as completed Feb 14, 2018
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

2 participants