Skip to content

Commit

Permalink
bump version, minor fmts
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwooo committed Dec 2, 2023
1 parent 9f7c19d commit b352313
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bitsrun"
description = "A headless login and logout CLI app for 10.0.0.55 at BIT"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
license = "MIT"
homepage = "https://github.com/spencerwooo/bitsrun-rs"
Expand Down
12 changes: 6 additions & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ mod xencode;

use anyhow::Context;
use anyhow::Result;
use cli::Arguments;
use cli::Commands;
use client::get_login_state;
use client::SrunClient;
use clap::Parser;
use owo_colors::OwoColorize;
use owo_colors::Stream::Stderr;
use owo_colors::Stream::Stdout;

use clap::Parser;
use cli::Arguments;
use cli::Commands;
use client::get_login_state;
use client::SrunClient;
use tables::print_config_paths;
use tables::print_login_state;

Expand Down Expand Up @@ -83,7 +83,7 @@ async fn cli() -> Result<()> {
&client_args.username,
&client_args.password,
&client_args.config,
!matches!(args.command, Some(Commands::Logout(_))),
matches!(args.command, Some(Commands::Login(_))),
)
.with_context(|| "unable to parse user credentials")?;

Expand Down

0 comments on commit b352313

Please sign in to comment.