A cool little CLI for managing your dagpi instance!
cargo install --git https://github.com/Daggy1234/dagpi-cli --branch main dagpi
- Head to releases and download the latest
x86_64-pc-windows-msvc.zip
, extract it and find thedagpi.exe
binary! - Add the path of the exe file to windows path guide here
- Restart your terminal and the cli should work
- CLI can be updated with a simple
dagpi update
cargo install --git https://github.com/Daggy1234/dagpi-cli --branch main dagpi
brew tap daggy1234/tap
brew install dagpi --verbose
- Install the latest macos binary
dagpi-macos
- Give it executeable permission
- Move to path
- Test it out
Below is a convinence script. For user installation
curl -s -L https://github.com/Daggy1234/dagpi-cli/releases/download/v0.4.2/dagpi-0.4.2-x86_64-apple-darwin.tar.gz | tar -xvz -O > ~/.local/bin/dagpi
chmod +x ~/.local/bin/dagpi
You can auto update this binary also with dagpi update
.
cargo install --git https://github.com/Daggy1234/dagpi-cli --branch main dagpi
- Download the binary for your CPU architecture (x86_64, aarch)
- Add executeable perms to the binary
- Copy binary to your user's path
- Test it. Script below
This for x86_64 linux. This will not work on arm. Please Check if your computer is arm (rasberrypi's are arm).
curl -s -L https://github.com/Daggy1234/dagpi-cli/releases/download/v0.4.2/dagpi-0.4.2-x86_64-unknown-linux-gnu.tar.gz | tar -xvz -O > ~/.local/bin/dagpi
chmod +x ~/.local/bin/dagpi
Just use
dagpi -h
to view all available commands and help
You need to rebuild. Use
cargo install --git https://github.com/Daggy1234/dagpi-cli --branch main dagpi
Dagpi binary updates are pretty nifty. Just do
dagpi update
and it should handle the rest!
Use their update system. Dagpi doesn't attempt to update when installed with package managers.
This is built with rust, so make sure rustfmt is run and all cargo/clippy checks pass.