Command-line interface to the .projections.json format
Branch: master
Clone or download

Gem Version Build Status Coverage Status Code Climate Dependency Status


Quickly edit project files using the .projections.json format


$ gem install projectionist

There's also a bash completion script, that you can install globally by running:

$ curl -OL

or locally by downloading this file and sourcing it in your ~/.bashrc

Zsh completion is on the way!


For ease of typing, the executable file for projectionist is prj.

Given a .projections.json file in the root of your project with the following structure:

{ "lib/**/*.rb": { "type": "lib" } }

The command to edit lib/whatever/test.rb would be:

$ prj edit lib whatever/test

Note that there are two glob components here - ** and *. When editing files, these components are separated by a /