Skip to content

npm repl #47

Closed
isaacs opened this Issue May 25, 2010 · 4 comments

2 participants

@isaacs
npm member
isaacs commented May 25, 2010

When you call npm without any arguments, it should drop into a repl where you can issue commands just like you would to the cli, and maybe also have some facilities to inspect things, etc.

@tj
tj commented Aug 5, 2010

yee! kiwi style :D

@isaacs
npm member
isaacs commented Aug 5, 2010

INORITE!?

If you feel like doing this, lemme kno.

Basically, the cli.js and npm.js both need a massive cleanup (they're a mess), and then just expose the repl such that you can do install whatever and have it work just like if you did that on the cli. Maybe instead of doing cli flags like --foo bar, you could use the repl context as the cli config object, so you could do registry = whatever in the repl, and it'd be just like passing it in as a config option.

@tj
tj commented Aug 5, 2010

haha, just googled inorite :p but ya a repl would be sweet

@isaacs
npm member
isaacs commented Feb 26, 2011

Closed by 363117e. Remove npm repl. Never really worked

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.