Skip to content

sachin21/space2dot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space2dot

Gem Version Build Status Code Climate Coverage Status Gem

What is space2dot

Change the space into dot. space2dot is a useful command when you want to check out a branch.

Installation

Install it yourself as:

$ gem install space2dot

Usage

From the command line:

1. e.g. Copy a string that contains the dot

In the case of OS X.

$ space2dot class name | pbcopy

In the case of Linux.

$ space2dot class name | xsel --input --clipboard

Shorthand

A shorthand alias for space2dot can also be used.

$ s2. new class name | pbcopy

Credits

Contributing

  1. Fork it
  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 new Pull Request