thinkncollab-cli 0.0.12 → 0.0.14
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/bin/index.js +3 -2
- package/commands/init.js +1 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import os from "os";
|
|
|
6
6
|
import path from "path";
|
|
7
7
|
import crypto from "crypto";
|
|
8
8
|
import FormData from "form-data";
|
|
9
|
-
import
|
|
9
|
+
import projectInit from "../commands/init"
|
|
10
10
|
|
|
11
11
|
const RC_FILE = path.join(os.homedir(), ".tncrc");
|
|
12
12
|
const VERSION_FILE = path.join(process.cwd(), ".tncversions");
|
|
@@ -304,7 +304,7 @@ switch (args[0]) {
|
|
|
304
304
|
break;
|
|
305
305
|
}
|
|
306
306
|
case "init" :{
|
|
307
|
-
|
|
307
|
+
await projectInit();
|
|
308
308
|
break;
|
|
309
309
|
}
|
|
310
310
|
|
|
@@ -312,6 +312,7 @@ switch (args[0]) {
|
|
|
312
312
|
console.log("✅ TNC CLI ready!");
|
|
313
313
|
console.log("Commands:");
|
|
314
314
|
console.log(" tnc login");
|
|
315
|
+
console.log(" tnc-cli init")
|
|
315
316
|
console.log(" tnc push --room <roomId> <path>");
|
|
316
317
|
console.log(" tnc logout");
|
|
317
318
|
}
|
package/commands/init.js
CHANGED