Project

recode

0.0
Low commit activity in last 3 years
No release in over a year
Command line utility for refactoring code
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0.8.1, < 2
~> 3.3
 Project Readme

Recode - Command line refactoring utility

Demo


Installation

$ gem install recode

Usage

$ recode --help
Code Refactoring Utility

Usage:
  recode OLD [to] NEW [in] EXTENSIONS... [options]
  recode (-h|--help)

Options:
  -a --apply
    Apply changes

  -p --prompt
    Apply changes interactively

  -h --help
    Show this help

Parameters:
  OLD
    Old string, singular and capitalized

  NEW
    New string, singular and capitalized

  EXTENSIONS
    Space delimited file extensions

Examples:
  recode Member User rb
  recode Member to User in rb js
  recode Member to User in rb js --apply
  recode Member to User in rb js -p

Contributing / Support

If you experience any issue, have a question or a suggestion, or if you wish to contribute, feel free to open an issue.