/projector

Project my config into your prebuild

Primary LanguageGo

Projector

A simple key value store per path.

Building From Source

git clone git@github.com:ThePrimeagen/projector.git
cd projector

# Install it where you want
go build -o ~/.local/bin/projector ./cmd

Commands

Available Commands

prints out the configuration for the current director and its parents.
If you provide no arguments to projector, this is the default behavior
projector [--pwd] print [key]
projector [--pwd] [key]
will link the cwd (or pwd) to another directories config.
This is useful for mirroring configs
projector [--pwd] link /absolute/to/other/directory
will remove any previously established link
projector [--pwd] unlink
delete a key in the current directories config.  Will not delete key out of
parent
projector [--pwd] del key_to_delete
adds key and value to the current directories config.
projector [--pwd] add key_to_delete arguments ...
shows the current path to the config file
projector [--pwd] add key_to_delete arguments ...