AngelMunoz / AngelMunoz/Perla

voption support

Open
#137 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
145
Forks
10
Avg merge
3d 13h
Merged PRs (30d)
1

Description

Since Perla has quite a lot of CLI configuration, I am looking through your implementation to see if there are any pain points when using FSharp.SystemCommandLine that I can improve upon.

Here are the possible API additions to FS.SCL that jumped out to me (all in the form of additions to the `Input` module) from within your "Commands.fs" file:
* `Input.optionMaybeV` (Kind of hard to find a great name for this due to the fact the S.CL overloaded the term "option").
* `Input.argumentMaybeV`
* `Input.arity`
* `Input.allowMultipleArgumentsPerToken`
* `Input.acceptOnlyFromAmong` (that takes a `string seq`)

Let me know if you can think of any others to add to the list.

Contributor guide

Open the contributing guide

Research direction

Start in Commands.fs and review the Input module usage against the FSharp.SystemCommandLine API. Evaluate the proposed additions—optionMaybeV, argumentMaybeV, arity, allowMultipleArgumentsPerToken, and acceptOnlyFromAmong—and establish an agreed scope for which API improvements Perla needs.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.