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

Обединени
papey обедини 2 ревизии от #594-add-version-help във master преди 5 години
papey коментира преди 5 години (Migrated from 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 (Migrated from github.com) reviewed преди 5 години
igalic (Migrated from github.com) left a comment

slightly better text

slightly better text
igalic (Migrated from 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 години (Migrated from 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 (Migrated from github.com) approved these changes преди 5 години
elegaanz (Migrated from github.com) left a comment

Thank you!

Thank you!

Reviewers

Тази заявка за сливане е била обединена като c031804464.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b #594-add-version-help master
git pull origin #594-add-version-help

Step 2:

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff #594-add-version-help
git push origin master
Впишете се за да се присъедините към разговора.
No reviewers
Няма етап
Няма изпълнители
1 участника
Известия
Due Date
Крайният срок е невалиден или извън обхват. Моля използвайте форматът 'гггг-мм-дд'.

No due date set.

Зависимости

No dependencies set.

Reference: Plume/Plume#631
Зареждане…
Все още няма съдържание.