README
node-dump-routes-info
Node.js utility: dump routes information from config file
dump-routes-info -f /path/to/routes.yml
Table of Contents
Requirements
- development on Node 11.6.0
Usage
CLI
$ dump-routes-info -f /path/to/routes.yml -e utf8
Example
- /path/to/routes.yml
- name: index
title: Home
- name: system
entries:
- name: config
title: System Settings
- name: misc
entries:
- name: i18n
title: I18n Settings
$ dump-routes-info -f /path/to/routes.yml
{"info":{"path":"index","module":"Index"},"entry":{"name":"index","title":"Home"}}
{"info":{"path":"system/config","module":"System.Config"},"entry":{"name":"config","title":"System Settings"}}
{"info":{"path":"system/misc/i18n","module":"System.Misc.I18n"},"entry":{"name":"i18n","title":"I18n Settings"}}
Install
$ npm install --save-dev dump-routes-info
License
node-dump-routes-info is licensed under the MIT license.
Copyright © since 2018 shun@getto.systems