The paisano
TUI / CLI
The Paisano TUI / CLI is a brandable general purpose command line kit for Flake based projects which fulfill a Paisano layout and importer contract.
Usage
- Install Paisano:
nix profile install github:paisano-nix/tui
- Set up autocompletion (optional):
paisano _carapace [SHELL]
— see carapace docs - Enter a Paisano-based repository.
- Run
paisano
orpaisano list
and profit ✨!
Branding
To change the branding of this binary you can set these variables via -X
compile flag:
main.buildVersion | default: dev
main.buildCommit | default: dirty
main.argv0 | default: paisano
main.project | default: Paisano
flake.registry | default: __std # temp kept, mainly for `std-action`
Example: go build -o my-bin-name -ldflags="-X main.argv0=hive -X main.project=Hive"
Contributing
Prerequisites
Enter Contribution Environment
direnv allow
Change Contribution Environment
$EDITOR ./nix/repo/config.nix
direnv reload
Preview Documentation
You need to be inside the Contribution Environment.
mdbook build -o