···8899## Installation
10101111-// TODO
1111+Prerequisites:
1212+1313+- `Git`
1414+- `Rust` (1.88+)
1515+- `Cargo`
1616+1717+1. Clone this repo:
1818+ `git clone git@tangled.sh:vielle.dev/tangled-on-commit`
1919+2. Compile the binary:
2020+ `cargo build --release`
2121+3. Copy the binary to your path:
2222+ `sudo cp ./target/release/tangled-on-commit /bin`
12231324## Usage
14251515-// TODO
2626+### CLI Arguments
2727+2828+- `tangled-on-commit (-h | --help)`
2929+ Displays this message
3030+3131+- `tangled-on-commit`
3232+ No specified handle, repo, or command. Falls back to config/env
3333+3434+- `tangled-on-commit SHELL`
3535+ Uses config/env for handle and repo
3636+3737+- `tangled-on-commit @HANDLE SHELL`
3838+ Uses config/env for repo
3939+4040+- `tangled-on-commit REPO SHELL`
4141+ Uses config/env for handle
4242+4343+- `tangled-on-commit @HANDLE/REPO SHELL`
4444+ `tangled-on-commit HANDLE REPO SHELL`
4545+ No config/env
4646+4747+### JSON
4848+4949+Loads the file `tangled-on-commit.json` from cwd if it exists.
5050+Reads keys \"handle\", \"repo_name\", and \"shell\".
5151+Unknown keys are ignored and any key can be ommitted
5252+JSON is used if the arguments aren't passed to the CLI
16531717-## Configuration
5454+### Env
18551919-// TODO
5656+Loads the environment variables `TANGLED_ON_COMMIT_HANDLE` and `TANGLED_ON_COMMIT_REPO_NAME`
5757+Shell cannot be set by environment variables.
5858+Env variables are used if relevant keys are ommitted an arguments aren't passed to the CLI.