commandlineparser / commandlineparser/commandline

Support for a Configuration File and other alternative sources

Ouverte
#689 0 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
4.8k
Forks
478
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Aucun fichier, test ou point d’entrée n’est indiqué. Examinez les points d’entrée existants de l’analyseur et de la validation du dépôt, puis clarifiez la portée et la conception de la fusion des arguments de ligne de commande avec le fichier de configuration et d’autres sources ; la tâche serait considérée comme terminée lorsqu’un plan d’implémentation convenu et des critères d’acceptation auront été définis.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.