Open Spritan opened 3 months ago
you have to write the relative path to the binary. you cannot just use firefly-cli
which is why it says command not found.
an easy way -
cargo build
./target/debug/Firefly-cli --colors="#f7768e","#9ece6a","#e0af68","#7aa2f7","#bb9af7","#7dcfff","#ff9e64" -e ripple
use the --help
command for more info
With cargo run
you need to use --
to pass arguments to the executable otherwise they are interpreted by cargo
.
Ex:
cargo run -- -e ripple
set_colors
is never used --> src/main.rs:62:12= note:
#[warn(dead_code)]
on by defaultwarning:
Firefly-cli
(bin "Firefly-cli") generated 1 warning Finisheddev
profile [unoptimized + debuginfo] target(s) in 0.04s Runningtarget/debug/Firefly-cli
error: the following required arguments were not provided: --effectUsage: Firefly-cli --effect
For more information, try '--help'.
installation
trail: (base) ➜ Firefly-cli git:(main) Firefly-cli --help zsh: Firefly-cli: command not found...