Download the source code.
git clone <repo_url>And build on your machine.
cd <repo_name>
cargo buildRun tests with
cd <repo_name>
cargo testsTry the built binary.
cargo run --bin pipelightcargo run --bin pipelight --helpcargo run --bin pipelight lsThe main documentaion can be found at pipelight.dev. It explains the tool usage and functionning, however it doesn't say much on internal structure.
-
The
INTERNALS.mdgives a quick overlook of how things works. -
There is a
README.mddetailling what is inside most of modules(crate).
.
├── cast
│ ├── public
│ ├── README.md
│ └── src
├── cli
│ ├── build.rs
│ └── src
├── exec
│ ├── README.md
│ └── src
├── pipelight
│ ├── README.md
│ └── src
├── switch
│ └── src
├── templates
│ ├── README.md
│ ├── src
│ └── static
├── utils
│ ├── public
│ ├── README.md
│ └── src
└── workflow
├── README.md
└── src- Each internal modules and functions have exhaustive and improving descriptions
Deprecated usage of nix-shell command with shell.nix file in favor of
nix develop with flake.nix.
To spawn a developing env with lsp formatter and linter.
nix developor do it automatically when you cd into the directory with
nix-direnv