Skip to content

Instantly share code, notes, and snippets.

@Andegawen
Created Oct 30, 2017
Embed
What would you like to do?
Provide example of suggestion for clink
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