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

Command line options for additional settings #48

Open
mikegilchrist opened this issue Nov 6, 2021 · 0 comments
Open

Command line options for additional settings #48

mikegilchrist opened this issue Nov 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mikegilchrist
Copy link

mikegilchrist commented Nov 6, 2021

It would be useful to allow some options to be set via the command line and/or a user ~/.config/text2qti file.

For example, the grade posting option (post_manually) is hard coded as false in ./text2qti/xml_assessment_meta.py. It would be helpful to have this as a `--post-manually' cli option instead.

Similarly, the feedback is solution: true must be added or removed to the .txt file to change its behavior. Ideally, we could have a --feedback-is-solution cli option.

It seems like @darencard 's pull request provides an example one could follow on an option by option basis (something I could do when I get some time). Ideally we'd be able to use the terminology already present in the code to create new options in a more general manner (not something I understand how to do).

label: enhancement

@gpoore gpoore added the enhancement New feature or request label Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants