cli: make credentials test interactive; add credentials test command

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia87db118ca58c66841265f34253b08ed6a6a6964
This commit is contained in:
raf 2026-05-01 23:33:06 +03:00
commit d2d6b7c421
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
6 changed files with 357 additions and 39 deletions

View file

@ -188,6 +188,10 @@ async fn main() -> Result<(), PakkerError> {
set_args.modrinth_token,
set_args.gh_access_token,
)
.await
},
Some(cli::CredentialsSubcommand::Test) => {
cli::commands::credentials_test::execute().await
},
None => {
cli::commands::credentials::execute(