dtolnay/gflags

Support repeated flags

Aberta

#1 aberto em 27 de dez. de 2018

 (1 comentário) (0 reação) (0 responsável)Rust (6 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (55 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador