Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants