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

feat(api/command): accept boolean option notation #967

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

williamboman
Copy link
Owner

Now supports passing options such as :MasonInstall --force --debug,
which will translate to the following install opt table:

{
    "force" = true,
    "debug" = true
}

Now supports passing options such as `:MasonInstall --force --debug`,
which will translate to the following install opt table:

```lua
{
    "force" = true,
    "debug" = true
}
```
@williamboman williamboman merged commit 47fdf54 into main Feb 5, 2023
@williamboman williamboman deleted the feat/command-opt-parsing branch February 5, 2023 00:36
This was referenced Apr 14, 2023
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.

None yet

1 participant