@lakitu/sdk 0.1.46 → 0.1.48
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/cli/index.js +12 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -38,9 +38,17 @@ program
|
|
|
38
38
|
.description("Publish template to E2B")
|
|
39
39
|
.option("--alias <name>", "Template alias", "lakitu")
|
|
40
40
|
.action(publish);
|
|
41
|
-
program
|
|
42
|
-
.command("cloudflare
|
|
43
|
-
.description("Manage Cloudflare workers and R2")
|
|
41
|
+
const cfCmd = program
|
|
42
|
+
.command("cloudflare")
|
|
43
|
+
.description("Manage Cloudflare workers and R2");
|
|
44
|
+
cfCmd
|
|
45
|
+
.command("init")
|
|
46
|
+
.description("Initialize Cloudflare worker configuration")
|
|
47
|
+
.option("-p, --project <path>", "Project directory")
|
|
48
|
+
.action((options) => cloudflare("init", options));
|
|
49
|
+
cfCmd
|
|
50
|
+
.command("deploy")
|
|
51
|
+
.description("Deploy workers to Cloudflare")
|
|
44
52
|
.option("-p, --project <path>", "Project directory")
|
|
45
|
-
.action(cloudflare);
|
|
53
|
+
.action((options) => cloudflare("deploy", options));
|
|
46
54
|
program.parse();
|