@theholocron/cli 5.0.0-alpha.204 → 5.0.0-alpha.205
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.mjs +15 -2
- package/dist/cli.mjs.map +1 -1
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -5173,8 +5173,21 @@ async function runNotificationsCreateServer(input) {
|
|
|
5173
5173
|
if (preview.status === "fail") return refuse(`no server was created: the layout cannot be applied (${preview.message ?? preview.failures[0]?.message ?? "see `holocron notifications setup --dry-run`"})`);
|
|
5174
5174
|
}
|
|
5175
5175
|
if (dryRun) {
|
|
5176
|
-
const
|
|
5177
|
-
|
|
5176
|
+
const steps = input.resume ? [
|
|
5177
|
+
"check the layout is applied to the server in the config",
|
|
5178
|
+
`invite member ${input.owner} through #${inviteChannel}`,
|
|
5179
|
+
"wait for them to join",
|
|
5180
|
+
"hand the server over"
|
|
5181
|
+
] : [
|
|
5182
|
+
`create the server "${input.name}"`,
|
|
5183
|
+
"apply the layout",
|
|
5184
|
+
`invite member ${input.owner} through #${inviteChannel}`,
|
|
5185
|
+
"wait for them to join",
|
|
5186
|
+
"hand the server over",
|
|
5187
|
+
`write its id into ${input.loaded.filepath}`
|
|
5188
|
+
];
|
|
5189
|
+
print("");
|
|
5190
|
+
for (const step of steps) print(` ${style.skip(step)}`);
|
|
5178
5191
|
print("");
|
|
5179
5192
|
print(style.header("0 ok, 0 fail, 1 skipped"));
|
|
5180
5193
|
return { status: "dry-run" };
|