autocomplete
autocomplete copied to clipboard
Create spec for barnard59
https://github.com/zazuko/barnard59/
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅
Hello @tpluscode, thank you very much for creating a Pull Request! Here is a small checklist to get this PR merged as quickly as possible:
- [ ] Do all subcommands / options which take arguments include the
args
property (args: {}
)? - [ ] Are all options modular? E.g.
-a
-u
-x
instead of-aux
- [ ] Have all other checks passed?
Please add a 👍 as a reaction to this comment to show that you read this.
I have read the CLA Document and I hereby sign the CLA
recheck
Thank you for the review @grant0417 . As you can see, this was generated...
About the bogus defaults. We have options with custom transforms which build a Map
object. The default is an empty map, hence the JavaScript's default string representation that object. I would not like to alter the code to account for fig's autocomplete as it requires additional guards in multiple places to handle a possible undefined value for that option.
What about the linting problems? I can fix some casing but it also complains about display help for command
which is generated by commander itself. And I don't know what to do about these which say If
X is a single value it should not be enclosed in square brackets
. I think that needs fixing in @fig/complete-commander
Overview
src/barnard59.ts:
Info:
URLs:
-
https://cube.link/latest/shape/standalone-constraint-constraint
ping @grant0417