Command to generate a route map of your Ember application.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
addon
app
assets
config
lib
node-tests
tests
vendor
.editorconfig
.ember-cli
.eslintignore
.eslintrc.js
.gitignore
.npmignore
.travis.yml
.watchmanconfig
CONTRIBUTING.md
LICENSE.md
README.md
ember-cli-build.js
index.js
package.json
testem.js

README.md

ember-cli-route-map

Build Status GitHub version npm version Dependency Status

Command to generate a route map of your Ember application.

To see what can be done visit the example page, it's the real route map from the BBVA Mobile App!

ember-cli-route-map

Installation

ember install ember-cli-route-map

Usage

Output result in the console

Run the next command:

ember route-map

console

Storing the report inside a directory

Use --output to select an output dir:

ember route-map --output="reports/route-map/"

Pretty output, save in HTML format

Use --pretty and --output:

ember route-map --output="reports/route-map/" --pretty

console

¿How can I add another directory to the report?

If your project have a different directory tree from the official Ember project you can use the --globs flag. It accepts an Array of directories and remember to add all the paths because the default directories will be overriden.

ember route-map --globs "app/router.js" --globs "addons/*/reopens/router.js" --globs "lib/*/addon/routes/routes.js"

Contribute

If you want to contribute to this addon, please read the CONTRIBUTING.md.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details