omarkhan/coffeedoc — Issue #13: No --requirejs when installed via npm, version 0.1.11
Author: gossi
Created: 2011-12-01 14:26:24+00:00
State: open

Hey there,

I installed coffeedoc via npm.

see npm info:

$ npm info coffeedoc
{ name: 'coffeedoc',
description: 'An API documentation generator for CoffeeScript',
'dist-tags': { latest: '0.1.11' },

and coffeedoc cli options:

$ coffeedoc
Usage: coffeedoc [options] [targets]

Options:
-o, --output: Set output directory (default: ./docs)
--commonjs : Use if target scripts use CommonJS for module loading (default)

I have no --requirejs option. Did I do something wrong?

I was going down to the coffeedoc source folder, and die `cat docgen.coffee`, here is a snippet:

# Command line options
OPTIONS =
'-o, --output': 'Set output directory (default: ./docs)'
'--commonjs ': 'Use if target scripts use CommonJS for module loading (default)'
# '--requirejs ': 'Use if target scripts use RequireJS for module loading'

A `spec/` folder is not present. Maybe that helps.

Thanks