Add clap to plume in order to print help and version #631

已合併
papey 將 2 次提交從 #594-add-version-help 合併至 master 5 年前
papey 已留言 5 年前 (已從 github.com 遷移)

Related to https://github.com/Plume-org/Plume/issues/594.

Output looks like :

Plume 0.3.0
Plume backend server

USAGE:
    plume

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information


Be careful plume command should be run inside the directory
containing .env file an static directory
Related to https://github.com/Plume-org/Plume/issues/594. Output looks like : ``` Plume 0.3.0 Plume backend server USAGE: plume FLAGS: -h, --help Prints help information -V, --version Prints version information Be careful plume command should be run inside the directory containing .env file an static directory ```
igalic (已從 github.com 遷移) 已審核 5 年前
igalic (已從 github.com 遷移) 留下了回應

slightly better text

slightly better text
igalic (已從 github.com 遷移) 已留言 5 年前
            r#"
The plume command should be run inside the directory
containing the `.env` configuration file and `static` directory.
See <link to config docs> and <link to starting Plume docs> for more info.
        "#,
```rust r#" The plume command should be run inside the directory containing the `.env` configuration file and `static` directory. See <link to config docs> and <link to starting Plume docs> for more info. "#, ```
codecov[bot] 已留言 5 年前 (已從 github.com 遷移)

Codecov Report

Merging #631 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #631      +/-   ##
==========================================
+ Coverage   35.33%   35.39%   +0.05%     
==========================================
  Files          68       68              
  Lines        7912     7906       -6     
  Branches     1893     1887       -6     
==========================================
+ Hits         2796     2798       +2     
+ Misses       4340     4338       -2     
+ Partials      776      770       -6
# [Codecov](https://codecov.io/gh/Plume-org/Plume/pull/631?src=pr&el=h1) Report > Merging [#631](https://codecov.io/gh/Plume-org/Plume/pull/631?src=pr&el=desc) into [master](https://codecov.io/gh/Plume-org/Plume/commit/5289fe872ae4d2d3a5b6b6cc467b6750ca914d05?src=pr&el=desc) will **increase** coverage by `0.05%`. > The diff coverage is `100%`. ```diff @@ Coverage Diff @@ ## master #631 +/- ## ========================================== + Coverage 35.33% 35.39% +0.05% ========================================== Files 68 68 Lines 7912 7906 -6 Branches 1893 1887 -6 ========================================== + Hits 2796 2798 +2 + Misses 4340 4338 -2 + Partials 776 770 -6 ```
elegaanz (已從 github.com 遷移) 核可了這些變更 5 年前
elegaanz (已從 github.com 遷移) 留下了回應

Thank you!

Thank you!

審核者

此合併請求已被合併為 c031804464
您也可以查看命令列指南

第一步:

在您的儲存庫中切換到新分支並測試變更。
git checkout -b #594-add-version-help master
git pull origin #594-add-version-help

第二步:

合併變更並更新到 Forgejo。
git checkout master
git merge --no-ff #594-add-version-help
git push origin master
登入 才能加入這對話。
沒有審核者
未選擇里程碑
沒有負責人
1 參與者
通知
截止日期
截止日期無效或超出範圍,請使用「yyyy-mm-dd」的格式。

未設定截止日期。

先決條件

未設定先決條件。

參考: Plume/Plume#631
載入中…
尚未有任何內容