Skip to content

Commit 9042d70

Browse files
committed
fix: add --version|-V support + fix metadata in Cargo.toml
1 parent 0b0ca8c commit 9042d70

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ version = "0.1.0"
44
authors = ["Coko <91132775+Coko7@users.noreply.github.com>"]
55
edition = "2021"
66
description = "A cli to interact with a local Tahoma box"
7-
readme = "README.md"
8-
homepage = "https://github.com/Coko7/mataho"
9-
repository = "https://github.com/Coko7/mataho"
107
license = "GPL-3.0-only"
11-
keywords = ["cli", "tahoma", "mataho", "somfy", "clap-rs"]
8+
repository = "https://github.com/Coko7/mataho"
9+
keywords = ["cli", "tahoma", "somfy", "smart-home", "home-automation"]
1210
categories = ["command-line-utilities"]
1311

1412
[dependencies]

src/cli.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use super::model::{DeviceTypeFilter, MatchMode};
66
#[derive(Debug, Parser)]
77
#[command(name = "mataho")]
88
#[command(about = "Interact with your Tahoma box in the terminal", long_about = None)]
9+
#[command(version)]
910
pub struct Cli {
1011
#[command(subcommand)]
1112
pub command: Commands,

0 commit comments

Comments
 (0)