@oclif/plugin-autocomplete
Version:
autocomplete plugin for oclif
77 lines • 2.11 kB
JSON
{
"version": "2.3.0",
"commands": {
"autocomplete:create": {
"id": "autocomplete:create",
"description": "create autocomplete setup scripts and completion functions",
"strict": true,
"pluginName": "@oclif/plugin-autocomplete",
"pluginAlias": "@oclif/plugin-autocomplete",
"pluginType": "core",
"hidden": true,
"aliases": [],
"flags": {},
"args": {}
},
"autocomplete": {
"id": "autocomplete",
"description": "display autocomplete installation instructions",
"strict": true,
"pluginName": "@oclif/plugin-autocomplete",
"pluginAlias": "@oclif/plugin-autocomplete",
"pluginType": "core",
"aliases": [],
"examples": [
"$ <%= config.bin %> autocomplete",
"$ <%= config.bin %> autocomplete bash",
"$ <%= config.bin %> autocomplete zsh",
"$ <%= config.bin %> autocomplete powershell",
"$ <%= config.bin %> autocomplete --refresh-cache"
],
"flags": {
"refresh-cache": {
"name": "refresh-cache",
"type": "boolean",
"char": "r",
"description": "Refresh cache (ignores displaying instructions)",
"allowNo": false
}
},
"args": {
"shell": {
"name": "shell",
"description": "Shell type",
"required": false,
"options": [
"zsh",
"bash",
"powershell"
]
}
}
},
"autocomplete:script": {
"id": "autocomplete:script",
"description": "outputs autocomplete config script for shells",
"strict": true,
"pluginName": "@oclif/plugin-autocomplete",
"pluginAlias": "@oclif/plugin-autocomplete",
"pluginType": "core",
"hidden": true,
"aliases": [],
"flags": {},
"args": {
"shell": {
"name": "shell",
"description": "Shell type",
"required": false,
"options": [
"zsh",
"bash",
"powershell"
]
}
}
}
}
}