Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 959 Bytes

File metadata and controls

41 lines (28 loc) · 959 Bytes

flow-router-cli

Command-line scaffolding tool designed for use with Meteor's Flow Router. Heavily inspired by meteor-em which is now iron-cli.

THIS IS WIP - PLEASE REPORT BUGS AND FILE FEATURE REQUESTS ON THE ISSUES PAGE

USAGE

$ npm install flow-router-cli -g
$ flow-cli --help

Usage

flow-cli [options] [command]

Commands

  • init - initialise project for Flow-CLI
  • info - list entities associated with project
  • remove [names...] - remove entities from Flow-CLI register
  • add [options] [names...] - add entities to the project

Options

  • -h, --help - output usage information
  • -V, --version - output the version number

Available entity types

routes, methods, collections

Example

$ flow-cli init
$ flow-cli add routes myRoute1 myRoute2 ...
$ flow-cli info