-
Notifications
You must be signed in to change notification settings - Fork 307
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
Intern CLI review #1022
Comments
theintern/cli#6 suggests having intern's |
The end result of #950 was the suggestion to add a suite filter that would allow the configured suites list to be filtered by file name. This would allow users to easily execute one or more suites from the configured list of suites with a simple string. It would differ from |
Handling nested config properties through CLI argsThere's a straightforward mapping from command line args to top-level config properties. For example, Intern should provide a way to consistently reference deep config properties through command line args. Possibly it could interpret dash-separated words as separate levels, or simply accept dot-separated values.
|
Another issue to add: Add shell-completion scriptsIntern should include and/or be able to generate shell completion scripts for at least bash and zsh. |
We should consider switching from commander to oclif for the CLI. It would give us several useful bits of functionality, such as prompting for input (needed for #1130), auto-generated shell completions, and activity indicators (this would be great during test startup). It also supports plugins, so we could allow for extensions similar to dojo's CLI. |
Or we could just add special purpose packages as we decide specifically what we need. clui, inquirer, that sort of thing. |
The goal of this issue is to define how Intern's CLI should behave and what capabilities it should support.
The current CLI is very simple and behaves in some non-standard ways, particularly in how it handles command line args. It should probably behave more like other CLI apps (standard arg format, sub commands, etc.). However, there may also be some advantage in maintaining compatibility with the existing arg format since it closely mirrors the query arg format used in the browser (it's also slightly easier to use with
npx
).Some questions to answer:
--junit-report
to produce a JUnit report rather than having the user specify that a JUnit reporter should be used).The text was updated successfully, but these errors were encountered: