Skip to content

Instantly share code, notes, and snippets.

View wrenger's full-sized avatar
⚙️

Lars Wrenger wrenger

⚙️
View GitHub Profile

A "node" is an element that looks like this:

{
    "type": "root|literal|argument",
    "parser": "", // only applicable if type is argument
    "properties": {}, // only applicable if type is argument, defaults to empty object
    "executable": true, // default if not specified is false, meaning it isn't a runnable command by itself
    "children": {}, // default if not specified is {}, meaning no children
    "redirect": [] // default if not specified is null, meaning no redirect
}