commandlineparser / commandlineparser/commandline

Support for a Configuration File and other alternative sources

Đang mở
#689 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
4.8k
Fork
478
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Many applications can indeed be built by having explicit command line arguments, especially when a number of arguments is a small number, but when the number of arguments is bigger there might be a temptation to carry, end especially distribute, those in a Configuration File instead of supplying as individual arguments.

Would be good if the library could provide an implementation or an abstraction to merge application's arguments from various places like, Command Line, Configuration File, ... This would mean the library could apply all its beauty, like a help, required parameters check and many others, to all those configuration sources.

Have you considered extending the library to support these scenarios? I understand this would mean the library cannot be called anymore "Command Line Parser" but at the same time I think those above requirements would require the core library parsing/error reporting/... changes to organically support multiple different configuration sources.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.