dtolnay/gflags

Support repeated flags

Aperta

#1 aperta il 27 dic 2018

 (1 commento) (0 reazioni) (0 assegnatari)Rust (6 fork)github user discovery
help wanted

Metriche repository

Star
 (55 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor