@oclif/plugin-autocomplete
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -5,2 +5,9 @@ # Changelog | ||
## [1.3.0](https://github.com/oclif/plugin-autocomplete/compare/v1.2.0...v1.3.0) (2022-05-03) | ||
### Features | ||
* aliases support ([a0db49e](https://github.com/oclif/plugin-autocomplete/commit/a0db49e48054f6979f3bf52fe6fbdf590e865d68)) | ||
## [1.2.0](https://github.com/oclif/plugin-autocomplete/compare/v1.1.1...v1.2.0) (2022-01-28) | ||
@@ -7,0 +14,0 @@ |
@@ -91,7 +91,16 @@ "use strict"; | ||
return; | ||
const description = sanitizeDescription(c.description || ''); | ||
const flags = c.flags; | ||
cmds.push({ | ||
id: c.id, | ||
description: sanitizeDescription(c.description || ''), | ||
flags: c.flags, | ||
description, | ||
flags, | ||
}); | ||
c.aliases.forEach(a => { | ||
cmds.push({ | ||
id: a, | ||
description, | ||
flags, | ||
}); | ||
}); | ||
} | ||
@@ -98,0 +107,0 @@ catch (error) { |
@@ -1,1 +0,1 @@ | ||
{"version":"1.2.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 --refresh-cache"],"flags":{"refresh-cache":{"name":"refresh-cache","type":"boolean","char":"r","description":"Refresh cache (ignores displaying instructions)","allowNo":false}},"args":[{"name":"shell","description":"shell type","required":false}]},"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":[{"name":"shell","description":"shell type","required":false}]}}} | ||
{"version":"1.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 --refresh-cache"],"flags":{"refresh-cache":{"name":"refresh-cache","type":"boolean","char":"r","description":"Refresh cache (ignores displaying instructions)","allowNo":false}},"args":[{"name":"shell","description":"shell type","required":false}],"_globalFlags":{}},"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":[{"name":"shell","description":"shell type","required":false}]}}} |
{ | ||
"name": "@oclif/plugin-autocomplete", | ||
"description": "autocomplete plugin for oclif", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"author": "Salesforce", | ||
"bugs": "https://github.com/oclif/plugin-autocomplete/issues", | ||
"dependencies": { | ||
"@oclif/core": "^1.2.0", | ||
"@oclif/core": "^1.7.0", | ||
"chalk": "^4.1.0", | ||
"debug": "^4.0.0", | ||
"debug": "^4.3.4", | ||
"fs-extra": "^9.0.1" | ||
@@ -36,3 +36,3 @@ }, | ||
"tslib": "^2.0.0", | ||
"typescript": "4.4.3" | ||
"typescript": "4.6.3" | ||
}, | ||
@@ -39,0 +39,0 @@ "engines": { |
@@ -49,3 +49,3 @@ @oclif/plugin-autocomplete | ||
_See code: [src/commands/autocomplete/index.ts](https://github.com/oclif/plugin-autocomplete/blob/v1.2.0/src/commands/autocomplete/index.ts)_ | ||
_See code: [src/commands/autocomplete/index.ts](https://github.com/oclif/plugin-autocomplete/blob/v1.3.0/src/commands/autocomplete/index.ts)_ | ||
<!-- commandsstop --> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32835
508
Updated@oclif/core@^1.7.0
Updateddebug@^4.3.4