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 でマージされています。
コマンドラインの手順も確認できます。

ステップ 1:

あなたのプロジェクトリポジトリで新しいブランチをチェックアウトし、変更内容をテストします。
git checkout -b #594-add-version-help master
git pull origin #594-add-version-help

ステップ 2:

変更内容をマージして、Forgejoに反映します。
git checkout master
git merge --no-ff #594-add-version-help
git push origin master
サインインしてこの会話に参加。
レビューアなし
マイルストーンなし
担当者なし
1 人の参加者
通知
期日
期日が正しくないか範囲を超えています。 'yyyy-mm-dd' の形式で入力してください。

期日は未設定です。

依存関係

依存関係が設定されていません。

リファレンス: Plume/Plume#631
読み込み中…
まだ内容がありません