@norskvideo/ctl-commands 0.1.2 → 0.1.3
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/commands.d.ts +7 -0
- package/commands.js +3 -0
- package/format.js +2 -0
- package/package.json +1 -1
package/commands.d.ts
CHANGED
|
@@ -128,6 +128,8 @@ export type Command = {
|
|
|
128
128
|
id: string;
|
|
129
129
|
} | {
|
|
130
130
|
kind: "shm.list";
|
|
131
|
+
} | {
|
|
132
|
+
kind: "sideload.status";
|
|
131
133
|
} | {
|
|
132
134
|
kind: "template.list";
|
|
133
135
|
} | {
|
|
@@ -317,6 +319,11 @@ export declare const commands: {
|
|
|
317
319
|
readonly kind: "shm.list";
|
|
318
320
|
}>;
|
|
319
321
|
};
|
|
322
|
+
readonly sideload: {
|
|
323
|
+
readonly status: LeafCmd<() => {
|
|
324
|
+
readonly kind: "sideload.status";
|
|
325
|
+
}>;
|
|
326
|
+
};
|
|
320
327
|
readonly template: {
|
|
321
328
|
readonly list: LeafCmd<() => {
|
|
322
329
|
readonly kind: "template.list";
|
package/commands.js
CHANGED
|
@@ -55,6 +55,9 @@ export const commands = {
|
|
|
55
55
|
shm: {
|
|
56
56
|
list: leaf("list", () => ({ kind: "shm.list" })),
|
|
57
57
|
},
|
|
58
|
+
sideload: {
|
|
59
|
+
status: leaf("status", () => ({ kind: "sideload.status" })),
|
|
60
|
+
},
|
|
58
61
|
template: {
|
|
59
62
|
list: leaf("list", () => ({ kind: "template.list" })),
|
|
60
63
|
show: leaf("show <name>", (name) => ({ kind: "template.show", name })),
|
package/format.js
CHANGED
|
@@ -80,6 +80,8 @@ export function toArgv(cmd) {
|
|
|
80
80
|
return ["product", "pull", cmd.name];
|
|
81
81
|
case "shm.list":
|
|
82
82
|
return ["shm", "list"];
|
|
83
|
+
case "sideload.status":
|
|
84
|
+
return ["sideload", "status"];
|
|
83
85
|
case "template.list":
|
|
84
86
|
return ["template", "list"];
|
|
85
87
|
case "template.show":
|