Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hoodie --help prints full bin path #173

Open
nolanlawson opened this issue Nov 21, 2015 · 1 comment
Open

hoodie --help prints full bin path #173

nolanlawson opened this issue Nov 21, 2015 · 1 comment

Comments

@nolanlawson
Copy link

I have all my npm modules in a special directory; this is what my .npmrc looks like:

prefix = /Users/nolan/.npm-packages

So unfortunately when I do hoodie --help, it prints out the full path, a bit confusingly:

workspace <('.'<) hoodie --help

.d$b.  .d$b.  .d$$$$$$b.    .d$$$$$$b.  .d$$$$$$b.  .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
$$$$$´`$$$$$'$$$$$$$$$$$$''$$$$$$$$$$$$'$$$$$$$$$$P $$$$$$$$$$$$$$$b.
'Q$P'  'Q$P'  'Q$$$$$$P'    'Q$$$$$$P'  'Q$$$$$$$P  'Q$P''Q$$$$$$$$P'

Version: 0.6.3 (node v4.0.0, npm 2.14.12, platform: darwin)


Hoodie command-line tool.

Usage:
  /Users/nolan/.npm-packages/bin/hoodie new <appname> [<template>]
  /Users/nolan/.npm-packages/bin/hoodie start
  /Users/nolan/.npm-packages/bin/hoodie install <plugin>...
  /Users/nolan/.npm-packages/bin/hoodie uninstall <plugin>...
  /Users/nolan/.npm-packages/bin/hoodie reset
  /Users/nolan/.npm-packages/bin/hoodie -h | --help
  /Users/nolan/.npm-packages/bin/hoodie -v | --verbose

Options:
  -h --help     output usage information
  -v --verbose  verbose output

Maybe it should just be hardcoded to hoodie, since that's what most people will be typing, regardless of the bin path?

@janl
Copy link
Contributor

janl commented Nov 24, 2015

Same as in #174 — I think we were just a bit too clever for our own good, there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants