Code2Gether-Discord / Code2Gether-Discord/EasyList

Implement the logic necessary to Replace ParseAdd with OptionParser

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Example usage:
```csharp
string[] options = { "-title", "-description" }; //the arguments that the user can pass in
string[] inputs = Console.ReadLine().Split(' '); //input from the user such as "-title hello world -description say hi"
var optionsValues = OptionParser.Parse(options, inputs, "-") //the "-" is to remove the prefix from the options when they are returned
optionsValues.TryGetValue(nameof(Todo.Title)) //use tryget to get an item from the dictionary
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.