diff --git a/Cargo.lock b/Cargo.lock index b8ea14e..f1c7027 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1231,7 +1231,7 @@ dependencies = [ [[package]] name = "memoscli" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index d585500..419ef68 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,13 @@ [package] name = "memoscli" -version = "0.1.0" +version = "0.1.1" edition = "2021" authors = ["SidneyZhang "] description = "A command-line tool to manage memos" license = "MIT" +repository = "https://git.lyz.one/SidneyZhang/memoscli" +keywords = ["memos", "cli", "tui", "terminal"] +categories = ["command-line-utilities", "command-line-interface"] [dependencies] ratatui = "0.30" diff --git a/README.md b/README.md index 1e82922..464208f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Built With Ratatui](https://img.shields.io/badge/Built_With_Ratatui-000?logo=ratatui&logoColor=fff)](https://ratatui.rs/) -使用命令行管理自己部署的 [Memos](https://usememos.com/)。 +使用命令行管理自己部署的 [Memos](https://usememos.com/),目前支持创建、查看、列出 Memos。 ## 功能特性 @@ -18,13 +18,20 @@ ### 从源码编译 ```bash -git clone https://github.com/your-repo/memoscli.git +git clone https://git.lyz.one/SidneyZhang/memoscli cd memoscli cargo build --release +cargo install --path ./target/release ``` 编译后的二进制文件位于 `target/release/memoscli`。 +### 从 Crates.io 安装 + +```bash +cargo install memoscli +``` + ## 使用方法 ### TUI 模式(默认)