dtolnay/gflags

Support repeated flags

開放

#1 建立於 2018年12月27日

 (1 則留言) (0 個反應) (0 位負責人)Rust (6 個分叉)github user discovery
help wanted

倉庫指標

星標
 (55 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南