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 parameters #204

Closed
jarvisteach opened this Issue Aug 9, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@jarvisteach
Owner

jarvisteach commented Aug 9, 2017

Specifying a log level or language to start with, without editing the code, would be useful - at a minimum, it would be useful to have documentation on how to do this...

@jarvisteach jarvisteach modified the milestone: 0.08 Aug 9, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Aug 9, 2017

Owner

This: https://www.tutorialspoint.com/python/python_command_line_arguments.htm provides some nice examples.

Will look to have appJar process a number of command line arguments, although make sure it can be disabled if the user wants to implement their own.

Owner

jarvisteach commented Aug 9, 2017

This: https://www.tutorialspoint.com/python/python_command_line_arguments.htm provides some nice examples.

Will look to have appJar process a number of command line arguments, although make sure it can be disabled if the user wants to implement their own.

jarvisteach added a commit that referenced this issue Aug 9, 2017

Initial command line support (#204)
Updates to docs

Constructor now has a parameter to disable command line arguments.

Otherwise, constructor looks for args & processes them

@jarvisteach jarvisteach closed this Aug 9, 2017

@jarvisteach jarvisteach reopened this Aug 18, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Aug 18, 2017

Owner

Switch arg parsing to use argparse: https://docs.python.org/2/library/argparse.html#module-argparse

Instead of getopt - this will allow for optional parameters on the arguments (eg. in ttk)

Owner

jarvisteach commented Aug 18, 2017

Switch arg parsing to use argparse: https://docs.python.org/2/library/argparse.html#module-argparse

Instead of getopt - this will allow for optional parameters on the arguments (eg. in ttk)

jarvisteach added a commit that referenced this issue Aug 18, 2017

Upgraded to use argparse instead of getopt #204
Allows optional parameters - used for ttk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment