Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Request: cli shortcut for shorthands #7600

Closed
RichardLitt opened this issue Mar 11, 2015 · 6 comments
Closed

Request: cli shortcut for shorthands #7600

RichardLitt opened this issue Mar 11, 2015 · 6 comments

Comments

@RichardLitt
Copy link
Contributor

Typing npm help 7 config in order to see a list of shorthands is difficult to remember and oddly longwinded. Can there be a shortcut to show these?

RichardLitt added a commit to RichardLitt/npm that referenced this issue Mar 11, 2015
@othiym23
Copy link
Contributor

From my comment on #7601:

It makes more sense to me to follow Git's model here and start pushing more of the shortcuts out to the documentation for the subcommands that use the shortcuts, which is something that people have been doing in fits and starts over the last couple months. I also think it would be nice to have Git-style command-line help tailored per subcommand.

Do either of those sound like things you'd be interested in hacking on?

@RichardLitt
Copy link
Contributor Author

Yeah, I'm down. Sounds good to me. I'll see what I can do.

@RichardLitt
Copy link
Contributor Author

@othiym23 Is this still an issue, or has npm 2 fixed it? Happy to hack away, back burned it until now.

@othiym23
Copy link
Contributor

othiym23 commented Sep 3, 2015

It would still be great to have a slightly less terse output for npm --help! If you're just starting it now, I'd probably do it against master / npm@3 (which is veeeerrry close to general release now). Thanks for circling back to this!

@RichardLitt
Copy link
Contributor Author

That's off of this commit, right? 1569304

I haven't forked off of a tag before, just checking.

@othiym23
Copy link
Contributor

othiym23 commented Sep 5, 2015

No, just pull down master and target that. (npm@2 is currently being developed off the 2.x branch – apologies for not being clear).

RichardLitt added a commit to RichardLitt/npm that referenced this issue Oct 19, 2015
@iarna iarna closed this as completed in 8770b0a Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants