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

Sammanfogat
papey sammanfogade 2 incheckningar från #594-add-version-help in i master 5 år sedan
papey kommenterad 5 år sedan (Migrerad från 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 (Migrerad från github.com) granskad av 5 år sedan
igalic (Migrerad från github.com) lämnade en kommentar

slightly better text

slightly better text
igalic (Migrerad från github.com) kommenterad 5 år sedan
            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] kommenterad 5 år sedan (Migrerad från 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 (Migrerad från github.com) godkände dessa ändringar 5 år sedan
elegaanz (Migrerad från github.com) lämnade en kommentar

Thank you!

Thank you!

Granskare

Pull-förfrågan har sammanfogats som 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
Logga in för att delta i denna konversation.
Inga granskare
Ingen Milsten
Ingen tilldelad
1 Deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet 'åååå-mm-dd'.

Inget förfallodatum satt.

Beroenden

No dependencies set.

Reference: Plume/Plume#631
Laddar…
Det finns inget innehåll än.