chore: add justfile auth command shortcut

This commit is contained in:
gak 2023-10-10 12:44:40 +11:00
parent a757a68207
commit ca20273402
No known key found for this signature in database

View file

@ -5,7 +5,7 @@ no_token_test:
cargo clippy --all-targets --all-features -- -D warnings cargo clippy --all-targets --all-features -- -D warnings
cargo test cargo test
# These tests require an access token saved in a file called "cli.json" # Require an access token from "cli.json". Use `just auth` to generate.
token_tests: token_tests:
cargo run -- api vehicles cargo run -- api vehicles
cargo run --no-default-features --features cli -- api vehicles cargo run --no-default-features --features cli -- api vehicles
@ -24,3 +24,6 @@ publish version:
git push git push
cargo publish cargo publish
auth:
cargo run -- auth --save