From 23aada05d0dbd651e5df75ad990145be881e84bc Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Tue, 17 Aug 2021 14:15:10 -0700 Subject: [PATCH] refactor(komorebic): inject metadata from cargo --- komorebic/Cargo.toml | 5 +++++ komorebic/src/main.rs | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/komorebic/Cargo.toml b/komorebic/Cargo.toml index 5f505687..4debf671 100644 --- a/komorebic/Cargo.toml +++ b/komorebic/Cargo.toml @@ -1,6 +1,11 @@ [package] name = "komorebic" version = "0.1.0" +authors = ["Jade Iqbal "] +description = "The command-line interface for Komorebi, a tiling window manager for Windows" +categories = ["cli", "tiling-window-manager", "windows"] +repository = "https://github.com/LGUG2Z/komorebi" +license = "MIT" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/komorebic/src/main.rs b/komorebic/src/main.rs index 3605d233..c0d0b581 100644 --- a/komorebic/src/main.rs +++ b/komorebic/src/main.rs @@ -164,8 +164,7 @@ struct ApplicationTarget { } #[derive(Clap)] -#[clap(version = "0.1.0", author = "Jade Iqbal ")] -#[clap(setting = AppSettings::DeriveDisplayOrder)] +#[clap(author, about, version, setting = AppSettings::DeriveDisplayOrder)] struct Opts { #[clap(subcommand)] subcmd: SubCommand,