Open
Description
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:
- How should the CLI interact with Intern? (load directly vs run in a separate process)
- Will it support pluggable functionality similar to Dojo's CLI?
- How should the CLI present Intern options such as reporter selection? For example, Intern currently makes reporter selection very explicit, but usability might be improved if the CLI presented higher-level options (e.g.,
--junit-report
to produce a JUnit report rather than having the user specify that a JUnit reporter should be used).