Usability issues (behave like normal CLI applications please)
See original GitHub issueI’m submitting a feature request
The usability of the cli is really bad. Some extremly annoying behavior that is not common for cli-applications (at least not outside the Javascript world):
- Running
au
does aclear
of the screen. Extremely annoying! You should not decide for the user to clear the screen. - The
help
output is different depending on context. Very bad. For example, I have run into buggy scenarios whereaurelia-cli
does not recognize it is in an existing aurelia-project and gives “new” and “help” as the only options. All command line options should be shown when runninghelp
, it should not be context dependent. At least have a “full_help” command or something if it’s so important to hide things for the user. - If I have
au
installed globally, and run it in a project directory, it fails to recognize it as a project??? I first have to runyarn
and install it as a local dependency to get things to work. If there is some reason for this, at least a helpful error should be shown about this. - The version is not displayed when running the cli. Which is normal for all command line tools pretty much.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Best Practices Building a CLI Tool for Your Service - Zapier
Zapier support engineer Jacob Blakely advises that usability and discovery are paramount in a CLI application. That experience begins in the ...
Read more >Designing Better Error Messages UX - Smashing Magazine
As it turns out, a strategic and thorough design of these messages ... There are a few common usability issues with toast error...
Read more >Visibility of System Status (Usability Heuristic #1)
When we understand the system's state, we feel in control — we can rely on the system to act as expected in all...
Read more >Should I include a command line mode in my applications?
You should include a command line interface in your application, if it enhances usability and comfort. For instance, calling a CLI command might...
Read more >Understanding Usability – OSnews
Another non-UI Usability Problem is the issue of deployment. ... For example, a typical server application like Apache needs to be integrated fairly...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I agree with everything except the context-aware help command.
au new
is only relevant when you’re not inside a project directory. It’s not useful to showau build
outside of a project directory, or to showau jest
as an option when your project is not setup for jest.maybe
au help --full
? the list will be pretty big, but maybe it can be braked down to section regarding the context in witch you can potentially runau
? it’s a bit clunky…