 class Cli
   # Public: Parses the command-line arguments.
   constructor: ->
-    @version = require('../package').version
+    @packageInfo = require('../package')
 
   # Public: Parses the command-line arguments.
   parseArguments: (argv = process.argv) ->

        default: false
        describe: 'Dump metadata to a file or api.json if no filename given'
      .options 'title',
        default: path.basename process.cwd()
        describe: 'Title of index page'
      .help('help').alias('help', '?')
      .version("v#{@version}")
      .parse(argv)

  # Public: Executes the program.

                          content: content
                          title: @args.title
                          navigation: @navigation
                          version: @packageInfo.version
    fs.writeFileSync(filePath, doc)

  renderFile: (file) ->
