Comments (4)
@vassudanagunta I agree with you on that point, it's definitely not very "intuitive" as it is right now.
on the other hand, the fact that there is already a mechanism in place to "cancel" interactive mode also means that adding support for a q
or x
shortcut to do the same thing shouldn't need entirely new functionality, just a small adjustment to which key actually triggers it.
either way, a short message in the initial usage notes would clear this up for everyone.
from npm-check-updates.
Thanks for the suggestion. I'd be happy with q
for quit.
from npm-check-updates.
just thinking out loud here, but perhaps this could be "fixed" by simply updating the input descriptions for interactive mode?
pressing "escape" cancels the interactive mode prompt, returning the user to their terminal, as (I imagine) the OP would expect q
or x
to do.
from npm-check-updates.
@ZaLiTHkA Good to know. But not very obvious or intuitive: In my experience, ESC
is a standard idiom for cancellation in GUI apps. If I am remembering correctly, all the CLIs I've used exit on q
or x
. If I am not, I would suggest that it match most user expectations / CLI conventions. For me personally, I am fine with ESC
.
from npm-check-updates.
Related Issues (20)
- backup old package json HOT 1
- Could not read peer dependencies for package when combining --cwd with --peer HOT 2
- bun.cmd id not recognized HOT 6
- --pre 0 updates to beta package HOT 2
- Bad export of generated JavaScript file HOT 11
- Monorepo/workspaces support via config path specification CLI arg HOT 1
- security vulnerability using [email protected] HOT 3
- Do not exceed upper bound of range when using --target semver
- ncu --doctor show the help HOT 3
- No npm "test" script defined. You must define a "test" script i HOT 3
- Tie updates of Definitely Typed `@types/` packages to their corresponding code package HOT 3
- Only the first workspace package is checked HOT 2
- Do not upgrade a package if its peer dependencies are not currently met HOT 1
- yarn package manager is missing getPeerDependencies
- when packages are filter due to engine not matching, we need to print it out, just like we do in peer checks
- [Windows] CLI doesn't work if directory contains `node.js` file HOT 1
- Don't include 0.x updates in --target minor HOT 1
- u
- Calls to spawn that include '.cmd' or '.bat' on windows should include '{shell: true}' argument HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-check-updates.