From ca2027340237f2c9ba1ae74cd5636c6a0a78d120 Mon Sep 17 00:00:00 2001 From: gak Date: Tue, 10 Oct 2023 12:44:40 +1100 Subject: [PATCH] chore: add justfile auth command shortcut --- justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index dfa98d2..0ec1e5c 100644 --- a/justfile +++ b/justfile @@ -5,7 +5,7 @@ no_token_test: cargo clippy --all-targets --all-features -- -D warnings 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: cargo run -- api vehicles cargo run --no-default-features --features cli -- api vehicles @@ -24,3 +24,6 @@ publish version: git push cargo publish + +auth: + cargo run -- auth --save