项目作者: DannyBen

项目描述 :
Command line refactoring utility
高级语言: Ruby
项目地址: git://github.com/DannyBen/recode.git
创建时间: 2020-05-15T20:56:54Z
项目社区:https://github.com/DannyBen/recode

开源协议:MIT License

下载


Recode - Command line refactoring utility

Gem Version
Build Status
Maintainability


Demo


Installation

  1. $ gem install recode

Usage

  1. $ recode --help
  2. Code Refactoring Utility
  3. Usage:
  4. recode OLD [to] NEW [in] EXTENSIONS... [options]
  5. recode (-h|--help)
  6. Options:
  7. -a --apply
  8. Apply changes
  9. -p --prompt
  10. Apply changes interactively
  11. -h --help
  12. Show this help
  13. Parameters:
  14. OLD
  15. Old string, singular and capitalized
  16. NEW
  17. New string, singular and capitalized
  18. EXTENSIONS
  19. Space delimited file extensions
  20. Examples:
  21. recode Member User rb
  22. recode Member to User in rb js
  23. recode Member to User in rb js --apply
  24. 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.