Skip to content

Instantly share code, notes, and snippets.

@Andegawen
Created October 30, 2017 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Andegawen/61ebc47e736d6c931270a9295a40ab8f to your computer and use it in GitHub Desktop.
Save Andegawen/61ebc47e736d6c931270a9295a40ab8f to your computer and use it in GitHub Desktop.
Show the path how to create something more sophicstaced solutions
local parser = clink.arg.new_parser
--declare function
local function xyz()
return {"a","b","c"}
end
local chris_parser = parser({xyz})
clink.arg.register_parser("chris", chris_parser)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment