cassian-cli 0.3.7 → 0.3.8
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/commands/init.js +5 -2
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -61,7 +61,7 @@ export async function init(options = {}) {
|
|
|
61
61
|
p.log.info("Run \x1b[32mcassian up\x1b[0m to start your instance.");
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
console.log();
|
|
65
65
|
const name = options.name || await p.text({
|
|
66
66
|
message: "Instance name",
|
|
67
67
|
placeholder: dirName,
|
|
@@ -147,5 +147,8 @@ export async function init(options = {}) {
|
|
|
147
147
|
const exclude = excludeRaw.split(",").map(s => s.trim()).filter(Boolean);
|
|
148
148
|
const yaml = buildYaml({ name, gpuType, gpuCount, diskSize, storage: storageEnabled, exclude });
|
|
149
149
|
writeFileSync("cassian.yaml", yaml);
|
|
150
|
-
|
|
150
|
+
console.log();
|
|
151
|
+
console.log(` \x1b[32m✓\x1b[0m Created \x1b[1mcassian.yaml\x1b[0m`);
|
|
152
|
+
console.log(` Run \x1b[32mcassian up\x1b[0m to start your instance.`);
|
|
153
|
+
console.log();
|
|
151
154
|
}
|