@atlasnomos/atlas 1.1.12 → 1.1.13
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/package.json
CHANGED
|
@@ -7,13 +7,24 @@ const fs = require('fs');
|
|
|
7
7
|
const path = require('path');
|
|
8
8
|
const { Input, Password } = require('enquirer');
|
|
9
9
|
|
|
10
|
+
const chalk = require('chalk');
|
|
11
|
+
|
|
10
12
|
class InitCommand {
|
|
11
13
|
constructor() { }
|
|
12
14
|
|
|
13
15
|
async execute(args) {
|
|
14
|
-
console.log(
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
console.log(chalk.cyan(`
|
|
17
|
+
___ _____ _ ___ _____
|
|
18
|
+
/ _ \\ |_ _|| | / _ \\ / ___|
|
|
19
|
+
/ /_\\ \\ | | | | / /_\\ \\\\ \`--.
|
|
20
|
+
| _ | | | | | | _ | \`--. \\
|
|
21
|
+
| _ | | | | |___| | | |/\\__/ /
|
|
22
|
+
\\_| |_/ \\_/ \\____/\\_| |_/\\____/
|
|
23
|
+
`));
|
|
24
|
+
console.log(chalk.gray(' N O M O S G O V E R N A N C E\n'));
|
|
25
|
+
console.log(chalk.white(' ══════════════════════════════════════════════'));
|
|
26
|
+
console.log(chalk.white.bold(' SETUP WIZARD — ATLAS V1'));
|
|
27
|
+
console.log(chalk.white(' ══════════════════════════════════════════════\n'));
|
|
17
28
|
|
|
18
29
|
const envPath = path.join(process.cwd(), '.env');
|
|
19
30
|
const modelsPath = path.join(process.cwd(), 'atlas.models.json');
|