effing-cloud 0.1.1 → 0.1.2

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 CHANGED
@@ -1,21 +1,2 @@
1
1
  #!/usr/bin/env node
2
-
3
- // src/cli.ts
4
- import { createRequire } from "module";
5
- import { Command } from "commander";
6
-
7
- // src/commands/login.ts
8
- function registerLogin(program2) {
9
- program2.command("login").description("Authenticate with effing-cloud").action(() => {
10
- console.log("Login is not yet implemented.");
11
- });
12
- }
13
-
14
- // src/cli.ts
15
- var require2 = createRequire(import.meta.url);
16
- var { version } = require2("../package.json");
17
- var program = new Command();
18
- program.name("effing-cloud").description("CLI for the effing-cloud platform").version(version);
19
- registerLogin(program);
20
- program.parse();
21
- //# sourceMappingURL=cli.js.map
2
+ import{createRequire as r}from"module";import{Command as i}from"commander";function e(n){n.command("login").description("Authenticate with Effing Cloud").action(()=>{console.log("Login is not yet implemented.")})}var t=r(import.meta.url),{version:m}=t("../package.json"),o=new i;o.name("effing-cloud").description("CLI for the Effing Cloud platform").version(m);e(o);o.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effing-cloud",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
package/dist/cli.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/cli.ts","../src/commands/login.ts"],"sourcesContent":["import { createRequire } from \"node:module\";\nimport { Command } from \"commander\";\nimport { registerLogin } from \"./commands/login.js\";\n\nconst require = createRequire(import.meta.url);\nconst { version } = require(\"../package.json\");\n\nconst program = new Command();\n\nprogram.name(\"effing-cloud\").description(\"CLI for the effing-cloud platform\").version(version);\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,qBAAqB;AAC9B,SAAS,eAAe;;;ACCjB,SAAS,cAAcA,UAAkB;AAC9C,EAAAA,SACG,QAAQ,OAAO,EACf,YAAY,gCAAgC,EAC5C,OAAO,MAAM;AACZ,YAAQ,IAAI,+BAA+B;AAAA,EAC7C,CAAC;AACL;;;ADLA,IAAMC,WAAU,cAAc,YAAY,GAAG;AAC7C,IAAM,EAAE,QAAQ,IAAIA,SAAQ,iBAAiB;AAE7C,IAAM,UAAU,IAAI,QAAQ;AAE5B,QAAQ,KAAK,cAAc,EAAE,YAAY,mCAAmC,EAAE,QAAQ,OAAO;AAE7F,cAAc,OAAO;AAErB,QAAQ,MAAM;","names":["program","require"]}