-
Notifications
You must be signed in to change notification settings - Fork 188
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
Revisit CLI options #390
Comments
I just noticed there is no information on how to use the reporting options in tern. None of the subparser options are displayed on the help screen.
Is this intentional? I would argue the different options for generating reports are more important than some of the other optional arguments. |
You have to do |
@nishakm What else would you like to see cleaned up on the command line? |
Maybe a shorter
Maybe change
What do you think about using |
I have seen -v typically used for verbose mode. Do you ever think we will want a verbose report? (I think I already asked you this question in issue #363 but it comes up again)
Agree. Maybe --keep-wd? --kwd to me looks like three different arguments but maybe that's just me.
Sounds good.
Works for me. |
I like the idea you proposed to move the verbose report to its own plugin. In which case
I think it's enough to say --keep-wd |
Tern's command line is a bit cluttered. This commit attempts to re-structure some of the {report} positional arguments. Namely: - Use '-f REPORT_FORMAT' to denote report format instead of '-m' - Use '-o FILE' to denote an report output file instead of '-f' - Shorten '--keep-working-dir' option to '--keep-wd' - Change '-V' to '-v' in order to get the version There are a few other various style imorovemenets to the 'tern -h' output such as changing ';' to '.' and removing an indentation. This commit also updates the README documenation to reflect the updated command line options, updates the invocation of the tests in ci/test_files_touched.py and updates tern/report/report.py to reflect the updated argument name values where applicable. Since this commit changes Tern's user interface, it will break API and not be compatible with downstream versions. Resolves tern-tools#390 Signed-off-by: Rose Judge <[email protected]>
Tern's command line is a bit cluttered. This commit attempts to re-structure some of the {report} positional arguments. Namely: - Use '-f REPORT_FORMAT' to denote report format instead of '-m' - Use '-o FILE' to denote an report output file instead of '-f' - Shorten '--keep-working-dir' option to '--keep-wd' - Change '-V' to '-v' in order to get the version There are a few other various style imorovemenets to the 'tern -h' output such as changing ';' to '.' and removing an indentation. This commit also updates the README documenation to reflect the updated command line options, updates the invocation of the tests in ci/test_files_touched.py and updates tern/report/report.py to reflect the updated argument name values where applicable. Since this commit changes Tern's user interface, it will break API and not be compatible with downstream versions. Resolves tern-tools#390 Signed-off-by: Rose Judge <[email protected]>
Tern's command line is a bit cluttered. This commit attempts to re-structure some of the {report} positional arguments. Namely: - Use '-f REPORT_FORMAT' to denote report format instead of '-m' - Use '-o FILE' to denote an report output file instead of '-f' - Shorten '--keep-working-dir' option to '--keep-wd' - Change '-V' to '-v' in order to get the version There are a few other various style imorovemenets to the 'tern -h' output such as changing ';' to '.' and removing an indentation. This commit also updates the README documenation to reflect the updated command line options, updates the invocation of the tests in ci/test_files_touched.py and updates tern/report/report.py to reflect the updated argument name values where applicable. Since this commit changes Tern's user interface, it will break API and not be compatible with downstream versions. Resolves #390 Signed-off-by: Rose Judge <[email protected]>
Tern's command line is a bit cluttered. This commit attempts to re-structure some of the {report} positional arguments. Namely: - Use '-f REPORT_FORMAT' to denote report format instead of '-m' - Use '-o FILE' to denote an report output file instead of '-f' - Shorten '--keep-working-dir' option to '--keep-wd' - Change '-V' to '-v' in order to get the version There are a few other various style imorovemenets to the 'tern -h' output such as changing ';' to '.' and removing an indentation. This commit also updates the README documenation to reflect the updated command line options, updates the invocation of the tests in ci/test_files_touched.py and updates tern/report/report.py to reflect the updated argument name values where applicable. Since this commit changes Tern's user interface, it will break API and not be compatible with downstream versions. Resolves tern-tools#390 Signed-off-by: Rose Judge <[email protected]>
Problem Statement
The command line options seem cluttered. Let's try to structure them better
Describe the Proposal
Because we are dealing with user interface and downstream use, this will break API and hence qualify for a major version increase
The text was updated successfully, but these errors were encountered: