0.01
No commit activity in last 3 years
No release in over 3 years
Projectionist allows you to quickly edit files in a project from the command line, using the projections.json format
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 1.3
~> 10.3
~> 3.0

Runtime

>= 0.19, ~> 0.19.1
 Project Readme

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 /