Project

routler

0.0
No commit activity in last 3 years
No release in over 3 years
Convert your rails routes to a CSV for reporting, processing, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
>= 0

Runtime

 Project Readme

routler

Build Status

Convert your rails routes to a CSV for reporting, processing, etc.

Installation

Add this line to your application's Gemfile:

gem 'routler'

And then execute:

$ bundle

Or install it yourself as:

$ gem install routler

Usage

build is the default command. You can leave it off, but everything is documented on the build command.

$ routler help build

  NAME:

    build

  SYNOPSIS:

    routler build filename [options]

  DESCRIPTION:

    Builds CSV files for your rail routes. 'filename' is assumed to be a file that
    holds the output of a rake routes run.  If no filename is passed, routler will
    run rake routes in your cwd and use the contents out its output.

    build is the default command so you can actually drop the build argument in all
    of the following examples


  EXAMPLES:

    # run rake routes in cwd and output csv to stdout
    routler build

    # process input_file and write csv to stdout
    routler build input_file

    # process input_file and write csv to a file named routes.csv
    routler build input_file -o routes.csv

    # process input_file, write to stdout, print stats
    routler build input_file -s true

  OPTIONS:

    --output STRING
        output file path

    --stats BOOL
        output stats

Contributing

  1. Fork it ( https://github.com/[my-github-username]/routler/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request