Skip to content

glittershark/projectionist

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gem Version Build Status Coverage Status Code Climate Dependency Status

Projectionist

Quickly edit project files using the .projections.json format

Installation

$ gem install projectionist

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

$ curl -OL
https://github.com/glittershark/projectionist/raw/master/completion.bash

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

Zsh completion is on the way!

Usage

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 /

About

Command-line interface to the .projections.json format

Resources

License

Stars

Watchers

Forks

Packages

No packages published