yeoman / generator-backbone

Scaffold out a Backbone.js project
http://yeoman.io
638 stars 157 forks source link

Generators are displayed twice for yo --help #350

Closed tnarik closed 9 years ago

tnarik commented 9 years ago

Somehow generators are registered twice (or display twice for yo --help):

$> yo --help
Usage: yo GENERATOR [args] [options]

General options:
  --help         # Print this info and generator's options and usage
  -f, --force    # Overwrite files that already exist
  --version      # Print version
  --no-color     # Disable colors
  --[no-]insight # Toggle anonymous tracking
  --generators   # Print available generators

Available Generators:
    all
  backbone
    collection
    model
    router
    view
    collection
    model
    router
    view
  mocha

The installation contains only:

$> npm list -g --depth=0
/Users/tnarik/.nvm/versions/node/v0.12.4/lib
├── bower@1.4.1
├── generator-backbone@0.3.5
├── generator-backbone-mocha@0.1.1
├── generator-mocha@0.1.8
├── npm@2.10.1
└── yo@1.4.7
arthurvr commented 9 years ago

Yep, I'm able to confirm this. I wonder if this is an issue with generator-backbone or with yo itself.

arthurvr commented 9 years ago

Likely https://github.com/yeoman/generator-backbone/issues/346 will just fix this.

arthurvr commented 9 years ago

Likely #346 will just fix this.

Seems like it didn't :cry:

tnarik commented 9 years ago

cool, thanks. I am waiting for this to be available as a release.