chimp
Version:
Your development companion for doing quality, faster.
149 lines • 4.3 kB
JSON
{
"version": "6.2.0",
"commands": {
"create": {
"id": "create",
"description": "create (scaffold) a new app",
"strict": true,
"pluginName": "chimp",
"pluginAlias": "chimp",
"pluginType": "core",
"aliases": [],
"examples": [
"$ chimp create my-new-app",
"$ chimp create my-new-app -a ~src -g ~chimp-helpers"
],
"flags": {
"help": {
"name": "help",
"type": "boolean",
"char": "h",
"description": "Show CLI help.",
"allowNo": false
},
"appPrefix": {
"name": "appPrefix",
"type": "option",
"char": "a",
"description": "prefix that points to the sourcecode of your app",
"multiple": false,
"default": "~app"
},
"generatedPrefix": {
"name": "generatedPrefix",
"type": "option",
"char": "g",
"description": "prefix that points to the generated by chimp helper code",
"multiple": false,
"default": "~generated"
}
},
"args": {
"name": {
"name": "name",
"description": "name of the new app, also used as the directory",
"required": true
}
}
},
"eject": {
"id": "eject",
"description": "Eject from chimp. While chimp is not a runtime dependency and your project will still run after removing it, ejecting offers a cleaner development environment. While we hope you never need to eject, it is reassuring to know you have the option. If you choose to eject or are considering it, please inform us. Remember, you are always just one command away from this choice.",
"strict": true,
"pluginName": "chimp",
"pluginAlias": "chimp",
"pluginType": "core",
"aliases": [],
"examples": [
"$ chimp eject"
],
"flags": {
"help": {
"name": "help",
"type": "boolean",
"char": "h",
"description": "Show CLI help.",
"allowNo": false
}
},
"args": {}
},
"generate": {
"id": "generate",
"description": "generate GraphQL code",
"strict": true,
"pluginName": "chimp",
"pluginAlias": "chimp",
"pluginType": "core",
"aliases": [],
"examples": [
"$ chimp generate",
"$ chimp generate -a ~src -g ~chimp-helpers"
],
"flags": {
"help": {
"name": "help",
"type": "boolean",
"char": "h",
"description": "Show CLI help.",
"allowNo": false
},
"appPrefix": {
"name": "appPrefix",
"type": "option",
"char": "a",
"description": "prefix that points to the sourcecode of your app",
"multiple": false,
"default": "~app"
},
"generatedPrefix": {
"name": "generatedPrefix",
"type": "option",
"char": "g",
"description": "prefix that points to the generated by chimp helper code",
"multiple": false,
"default": "~generated"
},
"modulesPath": {
"name": "modulesPath",
"type": "option",
"char": "p",
"description": "path to the graphQL modules, only use if you are migrating an existing Apollo App and you want to use chimp only for a part of it",
"multiple": false
}
},
"args": {}
},
"init": {
"id": "init",
"description": "init Chimp",
"strict": true,
"pluginName": "chimp",
"pluginAlias": "chimp",
"pluginType": "core",
"aliases": [],
"examples": [
"$ chimp init",
"$ chimp init -p ./src/chimp-modules"
],
"flags": {
"help": {
"name": "help",
"type": "boolean",
"char": "h",
"description": "Show CLI help.",
"allowNo": false
},
"modulesPath": {
"name": "modulesPath",
"type": "option",
"char": "p",
"description": "path to the GraphQL modules.",
"multiple": false,
"default": "./src/modules"
}
},
"args": {}
}
}
}