-
-
Save Andegawen/724112b4cb1a14488a880e96dfa68732 to your computer and use it in GitHub Desktop.
Provide example of suggestion for clink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local chris_parser = parser({ | |
"m1" .. parser({ | |
"m1a", | |
"m2a"}), | |
"m2" .. parser({ | |
"m2a", | |
"m2b" ..parser({"--x"})}), | |
}, "-h" .. parser({})) | |
--register parser under first keyword | |
clink.arg.register_parser("chris1", chris_parser) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment