Rename your project with a single command
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
namer.gemspec

README.md

##Namer

Rename your project with a single command.

Build Status

###Install

gem install namer

###Rename project

cd project
namer project:new_project Project:NewProject

This replaces code and file names:

  • project becomes new_project
  • Project becomes NewProject

It will also replace the keywords on the git origin URL (if git repo).

###Replace file via inline comment

puts "replace me"

# -- replace
# raise "replaced by me"

After running namer, this ruby file would only contain raise "replace by me".

This feature allows gem_template to self-replicate without copying the code used to self-replicate :).

###Contribute

Create an issue to discuss template changes.

Pull requests for template changes and new branches are even better.

###Stay up to date

Star this project on Github.

Follow Winton Welsh on Twitter.