-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmodule.ts
More file actions
43 lines (40 loc) · 1.16 KB
/
module.ts
File metadata and controls
43 lines (40 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Copyright 2023-present Eser Ozvataf and other contributors. All rights reserved. Apache-2.0 license.
/**
* Kit module definition for @eserstack/shell integration.
*
* @module
*/
import { Module } from "@eserstack/shell/module";
export const moduleDef: Module = new Module({
description: "Kit — recipes, templates, project creation",
modules: {
add: {
description: "Add a recipe to your project",
category: "Distribution",
load: () => import("./commands/add.ts"),
},
list: {
description: "Browse available recipes and templates",
category: "Distribution",
load: () => import("./commands/list.ts"),
},
new: {
description: "Create a new project from a template",
category: "Distribution",
load: () => import("./commands/new.ts"),
},
clone: {
description: "Clone a recipe from any GitHub repo",
category: "Distribution",
load: () => import("./commands/clone.ts"),
},
update: {
description: "Re-fetch and update an applied recipe",
category: "Distribution",
load: () => import("./commands/update.ts"),
},
},
aliases: {
create: "new",
},
});