Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Fix for usage and completion #10

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Conversation

xb-bx
Copy link
Contributor

@xb-bx xb-bx commented Feb 9, 2024

This PR introduces fixes for usage generation and tab completion.
Also fix for type in fish shell completion script. Check commit messages for details

xb-bx added 3 commits February 9, 2024 14:12
Example

let test = fargo {
    let! opta = opt "a" "a" "a" "a"
    let! optb = opt "b" "b" "b" "b"
    let! optc = opt "c" "c" "c" "c"
    return opta, optb, optc
}

"dotnet run -- complete -p 0" will output only completion for the last option

This commit fixes it
Example

let test = fargo {
    let! opta = opt "a" "a" "a" "a"
    let! optb = opt "b" "b" "b" "b"
    let! optc = opt "c" "c" "c" "c"
    return opta, optb, optc
}
"dotnet run -- --help" will contain help message only for the last option

This commit fixes it
@thinkbeforecoding thinkbeforecoding merged commit 8a7e5b7 into thinkbeforecoding:main Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants