@mikaelkaron/skills-tessl 0.4.0 → 0.4.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.
|
@@ -11,7 +11,6 @@ export default class TesslInstall extends Command {
|
|
|
11
11
|
};
|
|
12
12
|
static flags: {
|
|
13
13
|
global: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
skill: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
14
|
yes: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
15
|
verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
16
|
"accept-warnings": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Args, Command, Flags } from "@oclif/core";
|
|
2
2
|
import { install } from "../../lib/tessl.js";
|
|
3
3
|
export default class TesslInstall extends Command {
|
|
4
|
-
static summary = "Install
|
|
4
|
+
static summary = "Install tessl skill tiles for one or more installed plugins.";
|
|
5
5
|
static examples = [
|
|
6
6
|
{
|
|
7
7
|
description: "Install the skill tile for the cherry-pick-filter plugin",
|
|
@@ -20,10 +20,6 @@ export default class TesslInstall extends Command {
|
|
|
20
20
|
char: "g",
|
|
21
21
|
description: "Install tiles globally to ~/.tessl/ instead of the current project",
|
|
22
22
|
}),
|
|
23
|
-
skill: Flags.string({
|
|
24
|
-
multiple: true,
|
|
25
|
-
description: "Select specific skills to install from GitHub repositories",
|
|
26
|
-
}),
|
|
27
23
|
yes: Flags.boolean({
|
|
28
24
|
description: "Skip confirmation prompts and auto-select all skills",
|
|
29
25
|
}),
|
|
@@ -45,8 +41,6 @@ export default class TesslInstall extends Command {
|
|
|
45
41
|
const extraArgs = [];
|
|
46
42
|
if (flags.global)
|
|
47
43
|
extraArgs.push("--global");
|
|
48
|
-
for (const skill of flags.skill ?? [])
|
|
49
|
-
extraArgs.push("--skill", skill);
|
|
50
44
|
if (flags.yes)
|
|
51
45
|
extraArgs.push("--yes");
|
|
52
46
|
if (flags.verbose)
|
|
@@ -11,7 +11,6 @@ export default class TesslUninstall extends Command {
|
|
|
11
11
|
};
|
|
12
12
|
static flags: {
|
|
13
13
|
global: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
|
-
skill: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
14
|
};
|
|
16
15
|
run(): Promise<void>;
|
|
17
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Args, Command, Flags } from "@oclif/core";
|
|
2
2
|
import { uninstall } from "../../lib/tessl.js";
|
|
3
3
|
export default class TesslUninstall extends Command {
|
|
4
|
-
static summary = "Uninstall
|
|
4
|
+
static summary = "Uninstall tessl skill tiles for one or more installed plugins.";
|
|
5
5
|
static examples = [
|
|
6
6
|
{
|
|
7
7
|
description: "Uninstall the skill tile for the cherry-pick-filter plugin",
|
|
@@ -20,10 +20,6 @@ export default class TesslUninstall extends Command {
|
|
|
20
20
|
char: "g",
|
|
21
21
|
description: "Uninstall tiles from global ~/.tessl/ instead of the current project",
|
|
22
22
|
}),
|
|
23
|
-
skill: Flags.string({
|
|
24
|
-
multiple: true,
|
|
25
|
-
description: "Remove specific skills instead of the entire tile",
|
|
26
|
-
}),
|
|
27
23
|
};
|
|
28
24
|
async run() {
|
|
29
25
|
const { flags, argv } = await this.parse(TesslUninstall);
|
|
@@ -31,8 +27,6 @@ export default class TesslUninstall extends Command {
|
|
|
31
27
|
const extraArgs = [];
|
|
32
28
|
if (flags.global)
|
|
33
29
|
extraArgs.push("--global");
|
|
34
|
-
for (const skill of flags.skill ?? [])
|
|
35
|
-
extraArgs.push("--skill", skill);
|
|
36
30
|
for (const pluginName of pluginNames) {
|
|
37
31
|
const plugin = [...this.config.plugins.values()].find((p) => p.pjson.oclif?.id === pluginName);
|
|
38
32
|
if (!plugin) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikaelkaron/skills-tessl",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"bin": {
|
|
5
5
|
"mks-tessl": "bin/run.js"
|
|
6
6
|
},
|
|
@@ -38,7 +38,12 @@
|
|
|
38
38
|
"strategy": "pattern",
|
|
39
39
|
"target": "./dist/commands"
|
|
40
40
|
},
|
|
41
|
-
"id": "tessl"
|
|
41
|
+
"id": "tessl",
|
|
42
|
+
"topics": {
|
|
43
|
+
"tessl": {
|
|
44
|
+
"description": "Manage tessl skill tiles for installed plugins."
|
|
45
|
+
}
|
|
46
|
+
}
|
|
42
47
|
},
|
|
43
48
|
"engines": {
|
|
44
49
|
"node": ">=22.18"
|