Skip to content

Instantly share code, notes, and snippets.

@fuzzy
Created April 1, 2016 03:08
Show Gist options
  • Save fuzzy/148f787a1aea724d974b3587d679bdc1 to your computer and use it in GitHub Desktop.
Save fuzzy/148f787a1aea724d974b3587d679bdc1 to your computer and use it in GitHub Desktop.
{
"help": {
"help": "Show this help screen.",
"handler": "showHelp"
},
"version": {
"help": "Show the version.",
"handler": "showVersion"
},
"list": {
"help": "List installed or available packages.",
"handler": "ListPackages",
"options": [
["-a", "Show available packages.", ["installed", false]]
]
},
"enable": {
"help": "Enable a given package.",
"handler": "EnablePackage",
"options": [
["-g", "Enable in the global profile.", ["session", false]]
]
},
"disable": {
"help": "Disable usage of a given package.",
"handler": "DisablePackage",
"options": [
["-g", "Disable in the global profile.", ["session", false]]
]
},
"install": {
"help": "Install a given package.",
"handler": "None",
"options": [
["-f", "Force installation (possibly overwriting files)", ["force", false]],
["-c", "Clean any previous installation out before installing.", ["clean", true]],
["-v", "Show compiler messages.", ["verbose", true]]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment