effing-cloud 0.1.0 → 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 +1 -17
- package/package.json +1 -1
- package/dist/cli.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
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
|
|
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
package/dist/cli.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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.name(\"effing-cloud\").description(\"CLI for the effing-cloud platform\").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,QAAQ,KAAK,cAAc,EAAE,YAAY,mCAAmC,EAAE,QAAQ,OAAO;AAE7F,cAAc,OAAO;AAErB,QAAQ,MAAM;","names":["program"]}
|