diff options
Diffstat (limited to 'lib/cli/index.js')
-rw-r--r-- | lib/cli/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/cli/index.js b/lib/cli/index.js index 58a0e1b..4d3d364 100644 --- a/lib/cli/index.js +++ b/lib/cli/index.js @@ -1,5 +1,6 @@ /* eslint-disable no-console */ +var _ = require('lodash'); var path = require('path'); var tinylr = require('tiny-lr'); @@ -23,6 +24,7 @@ module.exports = { exec: helper.bookCmd(function(book) { return book.parse() .then(function() { + book.log.info.ln('Book located in:', book.root); book.log.info.ln(''); if (book.config.exists()) book.log.info.ln('Configuration:', book.config.path); @@ -33,6 +35,11 @@ module.exports = { book.log.info.ln('Readme:', book.readme.path); book.log.info.ln('Summary:', book.summary.path); if (book.glossary.exists()) book.log.info.ln('Glossary:', book.glossary.path); + + book.log.info.ln('Pages:'); + _.each(book.pages, function(page) { + book.log.info.ln('\t-', page.path); + }); } }); }) |