Skip to content

Commit

Permalink
Merge branch 'private_api_support' of https://github.com/justinnichol…
Browse files Browse the repository at this point in the history
…s/apidoc into justinnichols-private_api_support
  • Loading branch information
rottmann committed Jan 13, 2017
2 parents e5e8716 + 87f826e commit 87ff97a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
3 changes: 3 additions & 0 deletions bin/apidoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ var argv = nomnom

.option('config', { abbr: 'c', 'default': './', help: 'Path to directory containing config file (apidoc.json)' })

.option('private', { abbr: 'p', 'default': false, help: 'Include private APIs in output.'})

.option('verbose', { abbr: 'v', flag: true, 'default': false, help: 'Verbose debug output.' })

.option('help', { abbr: 'h', flag: true, help: 'Show this help information.' })
Expand Down Expand Up @@ -92,6 +94,7 @@ var options = {
dest : argv['output'],
template : argv['template'],
config : argv['config'],
apiprivate : argv['private'],
verbose : argv['verbose'],
debug : argv['debug'],
parse : argv['parse'],
Expand Down
19 changes: 10 additions & 9 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ var defaults = {
dest : path.join(__dirname, '../doc/'),
template: path.join(__dirname, '../template/'),

debug : false,
silent : false,
verbose : false,
simulate: false,
parse : false, // Only parse and return the data, no file creation.
colorize: true,
markdown: true,
config : './',
encoding: 'utf8'
debug : false,
silent : false,
verbose : false,
simulate : false,
parse : false, // Only parse and return the data, no file creation.
colorize : true,
markdown : true,
config : './',
apiprivate: false,
encoding : 'utf8'
};

var app = {
Expand Down

0 comments on commit 87ff97a

Please sign in to comment.