dotnet / dotnet/command-line-api

Library of predefined CliCommands

Open
#2,434 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

It would be nice to have a library of CliCommands that are maintained as a project within itself so that each developer doesn't have to come a long and write up all the boilerplate code each time they want to parse a command line.

A bit like types for TypeScript, the cli commands would then be used to parse commands for well-known command line tools such as Node.js.

Node.js has a comprehensive set of options, and to fully parse a Node.js command would take a mammoth amount of work, but it isn't just Node.js, there are many other libraries where it would take a long time to write all the code required to properly understand the command.

I am not proposing we do this as part of the [command-line-api](https://github.com/dotnet/command-line-api) project, I am proposing another project that can be used alongside this that will provide some useful definitions for developers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.