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

Fusionado
papey fusionados 2 commits de #594-add-version-help en master hace 5 años
papey comentado hace 5 años (Migrado desde 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 (Migrado desde github.com) revisado hace 5 años
igalic (Migrado desde github.com) dejó un comentario

slightly better text

slightly better text
igalic (Migrado desde github.com) comentado hace 5 años
            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] comentado hace 5 años (Migrado desde 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 (Migrado desde github.com) aprobado estos cambios hace 5 años
elegaanz (Migrado desde github.com) dejó un comentario

Thank you!

Thank you!

Revisores

El Pull Request se ha fusionado como c031804464.

Paso 1:

Desde el repositorio de su proyecto, revisa una nueva rama y prueba los cambios.
git checkout -b #594-add-version-help master
git pull origin #594-add-version-help

Paso 2:

Combine los cambios y actualice en Forgejo.
git checkout master
git merge --no-ff #594-add-version-help
git push origin master
Inicie sesión para unirse a esta conversación.
No hay revisores
Sin Milestone
No asignados
1 participantes
Notificaciones
Fecha de vencimiento
La fecha de vencimiento es inválida o está fuera de rango. Por favor utilice el formato 'aaaa-mm-dd'.

Sin fecha de vencimiento.

Dependencias

No se han establecido dependencias.

Referencia: Plume/Plume#631
Cargando…
Aún no existe contenido.