ds-01 0.1.3 → 0.1.5
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/.turbo/turbo-build.log +1 -1
- package/dist/index.js +6 -4
- package/package.json +1 -1
- package/src/index.ts +6 -4
package/.turbo/turbo-build.log
CHANGED
package/dist/index.js
CHANGED
|
@@ -3,16 +3,18 @@ import { Command } from "commander";
|
|
|
3
3
|
import { login } from "./commands/login.js";
|
|
4
4
|
import { whoami } from "./commands/whoami.js";
|
|
5
5
|
import { logout } from "./commands/logout.js";
|
|
6
|
-
import { init } from "./commands/init.js";
|
|
6
|
+
import { init } from "./commands/init.js";
|
|
7
|
+
import { add } from "./commands/add.js"; // <-- 1. Import the add command!
|
|
7
8
|
const program = new Command();
|
|
8
9
|
program
|
|
9
|
-
.name("
|
|
10
|
+
.name("ds-01")
|
|
10
11
|
.description("DS01 Custom Component Registry CLI")
|
|
11
|
-
.version("1.
|
|
12
|
+
.version("0.1.5");
|
|
12
13
|
// Register the commands
|
|
13
14
|
program.addCommand(login);
|
|
14
15
|
program.addCommand(whoami);
|
|
15
16
|
program.addCommand(logout);
|
|
16
|
-
program.addCommand(init);
|
|
17
|
+
program.addCommand(init);
|
|
18
|
+
program.addCommand(add); // <-- 2. Register the add command!
|
|
17
19
|
// Parse the arguments from the terminal
|
|
18
20
|
program.parse(process.argv);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -4,20 +4,22 @@ import { Command } from "commander";
|
|
|
4
4
|
import { login } from "./commands/login.js";
|
|
5
5
|
import { whoami } from "./commands/whoami.js";
|
|
6
6
|
import { logout } from "./commands/logout.js";
|
|
7
|
-
import { init } from "./commands/init.js";
|
|
7
|
+
import { init } from "./commands/init.js";
|
|
8
|
+
import { add } from "./commands/add.js"; // <-- 1. Import the add command!
|
|
8
9
|
|
|
9
10
|
const program = new Command();
|
|
10
11
|
|
|
11
12
|
program
|
|
12
|
-
.name("
|
|
13
|
+
.name("ds-01")
|
|
13
14
|
.description("DS01 Custom Component Registry CLI")
|
|
14
|
-
.version("1.
|
|
15
|
+
.version("0.1.5");
|
|
15
16
|
|
|
16
17
|
// Register the commands
|
|
17
18
|
program.addCommand(login);
|
|
18
19
|
program.addCommand(whoami);
|
|
19
20
|
program.addCommand(logout);
|
|
20
|
-
program.addCommand(init);
|
|
21
|
+
program.addCommand(init);
|
|
22
|
+
program.addCommand(add); // <-- 2. Register the add command!
|
|
21
23
|
|
|
22
24
|
// Parse the arguments from the terminal
|
|
23
25
|
program.parse(process.argv);
|