refactor(komorebic): inject metadata from cargo

This commit is contained in:
LGUG2Z
2021-08-17 14:15:10 -07:00
parent f11dcbc0cb
commit 23aada05d0
2 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
[package]
name = "komorebic"
version = "0.1.0"
authors = ["Jade Iqbal <jadeiqbal@fastmail.com>"]
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

View File

@@ -164,8 +164,7 @@ struct ApplicationTarget {
}
#[derive(Clap)]
#[clap(version = "0.1.0", author = "Jade Iqbal <jadeiqbal@fastmail.com>")]
#[clap(setting = AppSettings::DeriveDisplayOrder)]
#[clap(author, about, version, setting = AppSettings::DeriveDisplayOrder)]
struct Opts {
#[clap(subcommand)]
subcmd: SubCommand,