@clerc/plugin-completions 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Plugin } from "@clerc/core";
|
|
|
3
3
|
//#region src/index.d.ts
|
|
4
4
|
interface CompletionsPluginOptions {
|
|
5
5
|
/**
|
|
6
|
-
* Whether to register the `install
|
|
6
|
+
* Whether to register the `completions install` and `completions uninstall` commands.
|
|
7
7
|
* @default true
|
|
8
8
|
*/
|
|
9
9
|
managementCommands?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -117,7 +117,7 @@ const completionsPlugin = (options = {}) => definePlugin({ setup: (cli) => {
|
|
|
117
117
|
});
|
|
118
118
|
console.log(script);
|
|
119
119
|
});
|
|
120
|
-
cli.command("completion-server", "Handle completions").on("completion-server", async () => {
|
|
120
|
+
cli.command("completion-server", "Handle completions", { help: { showInHelp: false } }).on("completion-server", async () => {
|
|
121
121
|
const env = tabtab.parseEnv(process.env);
|
|
122
122
|
if (!env.complete) return;
|
|
123
123
|
const shell = getShellFromEnv(process.env);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clerc/plugin-completions",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"author": "Ray <i@mk1.io> (https://github.com/so1ve)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Clerc plugin completions",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@pnpm/tabtab": "^0.5.4",
|
|
49
|
-
"@clerc/utils": "1.0.0-beta.
|
|
49
|
+
"@clerc/utils": "1.0.0-beta.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@clerc/core": "1.0.0-beta.
|
|
52
|
+
"@clerc/core": "1.0.0-beta.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@clerc/core": "*"
|