Skip to content

Commit

Permalink
chore: minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrannican committed Oct 5, 2024
1 parent eae77fc commit 4b60ff3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ mod cli;
mod license;

use clap::Parser;
use std::io::Result;

use cli::{Cli, LygenCommand};
use license::{License, LicenseType};

fn main() -> Result<()> {
fn main() {
let cli = Cli::parse();

let license = match cli.commands {
Expand All @@ -31,6 +30,4 @@ fn main() -> Result<()> {
if let Err(e) = license.write() {
eprintln!("error writing license to disk - {e}");
}

Ok(())
}

0 comments on commit 4b60ff3

Please sign in to comment.