From 2ac7e5badfa0bb22942ebd4578384bd8b3093d68 Mon Sep 17 00:00:00 2001 From: Elliot Date: Fri, 7 Jan 2022 11:48:41 +0800 Subject: [PATCH] chore: modify bin name for git subcommand --- Cargo.lock | 2 +- Cargo.toml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c7432a5..eab8f89 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,7 +10,7 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "commit-formatter" -version = "0.2.0" +version = "0.2.1" dependencies = [ "console", "dialoguer", diff --git a/Cargo.toml b/Cargo.toml index eac1304..565b0ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "commit-formatter" -version = "0.2.0" +version = "0.2.1" authors = ["Elliot "] -edition = "2018" +edition = "2021" description = "A CLI tool to help you write git commit" homepage = "https://github.com/Eliot00/commit-formatter" repository = "https://github.com/Eliot00/commit-formatter" @@ -21,3 +21,7 @@ serde_json = "1.0" [lib] name = "commit_formatter" path = "src/lib.rs" + +[[bin]] +name = "git-cf" +path = "src/main.rs"