dtolnay/gflags

Support repeated flags

Ouverte

#1 ouverte le 27 déc. 2018

 (1 commentaire) (0 réaction) (0 personne assignée)Rust (6 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (55 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Something like:

gflags::define! {
    -f, --file <PATH>...
}

where it would accept the same flag multiple times (-f path1 -f path2 -f path3) and expose them all in a vec or slice to the application.

Guide contributeur