dtolnay/gflags

Support repeated flags

Open

#1 opened on Dec 27, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (6 forks)github user discovery
help wanted

Repository metrics

Stars
 (55 stars)
PR merge metrics
 (No merged PRs in 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.

Contributor guide