Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dannyben/recode
Command line refactoring utility
https://github.com/dannyben/recode
refactoring refactoring-tools refactoring-utility
Last synced: 3 months ago
JSON representation
Command line refactoring utility
- Host: GitHub
- URL: https://github.com/dannyben/recode
- Owner: DannyBen
- License: mit
- Created: 2020-05-15T20:56:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-07T05:18:49.000Z (over 1 year ago)
- Last Synced: 2024-05-01T14:12:10.513Z (8 months ago)
- Topics: refactoring, refactoring-tools, refactoring-utility
- Language: Ruby
- Size: 57.6 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Recode - Command line refactoring utility
[![Gem Version](https://badge.fury.io/rb/recode.svg)](https://badge.fury.io/rb/recode)
[![Build Status](https://github.com/DannyBen/recode/workflows/Test/badge.svg)](https://github.com/DannyBen/recode/actions?query=workflow%3ATest)
[![Maintainability](https://api.codeclimate.com/v1/badges/5e766a4651a7320f714f/maintainability)](https://codeclimate.com/github/DannyBen/recode/maintainability)---
![Demo](/demo/cast.svg)
---
## Installation
$ gem install recode
## Usage
```
$ recode --help
Code Refactoring UtilityUsage:
recode OLD [to] NEW [in] EXTENSIONS... [options]
recode (-h|--help)Options:
-a --apply
Apply changes-p --prompt
Apply changes interactively-h --help
Show this helpParameters:
OLD
Old string, singular and capitalizedNEW
New string, singular and capitalizedEXTENSIONS
Space delimited file extensionsExamples:
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][issues].---
[issues]: https://github.com/DannyBen/recode/issues