effing-cloud 0.0.0

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.js ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/cli.ts
4
+ import { Command } from "commander";
5
+
6
+ // src/commands/login.ts
7
+ function registerLogin(program2) {
8
+ program2.command("login").description("Authenticate with effing-cloud").action(() => {
9
+ console.log("Login is not yet implemented.");
10
+ });
11
+ }
12
+
13
+ // src/cli.ts
14
+ var program = new Command();
15
+ program.name("effing-cloud").description("CLI for the effing-cloud platform").version("0.0.0");
16
+ registerLogin(program);
17
+ program.parse();
18
+ //# sourceMappingURL=cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/cli.ts","../src/commands/login.ts"],"sourcesContent":["import { Command } from \"commander\";\nimport { registerLogin } from \"./commands/login.js\";\n\nconst program = new Command();\n\nprogram\n .name(\"effing-cloud\")\n .description(\"CLI for the effing-cloud platform\")\n .version(\"0.0.0\");\n\nregisterLogin(program);\n\nprogram.parse();\n","import type { Command } from \"commander\";\n\nexport function registerLogin(program: Command) {\n program\n .command(\"login\")\n .description(\"Authenticate with effing-cloud\")\n .action(() => {\n console.log(\"Login is not yet implemented.\");\n });\n}\n"],"mappings":";;;AAAA,SAAS,eAAe;;;ACEjB,SAAS,cAAcA,UAAkB;AAC9C,EAAAA,SACG,QAAQ,OAAO,EACf,YAAY,gCAAgC,EAC5C,OAAO,MAAM;AACZ,YAAQ,IAAI,+BAA+B;AAAA,EAC7C,CAAC;AACL;;;ADNA,IAAM,UAAU,IAAI,QAAQ;AAE5B,QACG,KAAK,cAAc,EACnB,YAAY,mCAAmC,EAC/C,QAAQ,OAAO;AAElB,cAAc,OAAO;AAErB,QAAQ,MAAM;","names":["program"]}
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "effing-cloud",
3
+ "version": "0.0.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "bin": {
7
+ "effing-cloud": "./dist/cli.js"
8
+ },
9
+ "files": ["dist"],
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "scripts": {
14
+ "build": "tsup",
15
+ "dev": "tsx src/cli.ts",
16
+ "typecheck": "tsc --noEmit"
17
+ },
18
+ "dependencies": {
19
+ "commander": "^13.0.0"
20
+ },
21
+ "devDependencies": {
22
+ "tsup": "^8.0.0",
23
+ "tsx": "^4.19.3",
24
+ "typescript": "catalog:"
25
+ }
26
+ }