Skip to content

Commit 98a7699

Browse files
committed
change help text and next steps command
1 parent 7a2d6c2 commit 98a7699

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

scripts/setup.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,16 @@ if (import.meta.main) {
184184
}
185185

186186
const notes: (string | false)[] = [
187-
updatedShell === "bash" && "$ source ~/.bashrc",
188-
updatedShell === "zsh" && "$ source ~/.zshrc",
187+
updatedShell === "bash" && "source ~/.bashrc",
188+
updatedShell === "zsh" && "source ~/.zshrc",
189189

190-
`$ cd ${directory} && wql up`,
190+
`cd ${directory}`,
191+
"wql up",
191192
];
192-
note(notes.filter(line => line !== false).join("\n"), "Next steps:");
193+
note(
194+
notes.filter(part => part !== false).join(" && "),
195+
"Next steps (copy and paste this command):",
196+
);
193197

194198
outro(`You're good to go!`);
195199
Deno.exit(0);

scripts/wql.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env -S deno run --ext=ts -A
2-
// deno-lint-ignore-file no-import-prefix
2+
// deno-lint-ignore-file no-import-prefix no-explicit-any
33
import { Command } from "jsr:@cliffy/command@1.0.0-rc.8";
44
import * as fs from "jsr:@std/fs@^1";
55
import * as path from "jsr:@std/path@^1";
@@ -11,8 +11,8 @@ const DREAMLAB_ROOT = path.join(path.fromFileUrl(import.meta.url), "../..");
1111

1212
const cli = new Command()
1313
.name("wql")
14-
.command("up [path:string]", "nrdkjfgnlkdr")
15-
.action(async (_opts, dir = Deno.cwd()) => {
14+
.command("up [path:string]", "Start the Dreamlab Engine in an environment")
15+
.action(async (_opts: any, dir = Deno.cwd()) => {
1616
intro(color.bgCyan(" wql up "));
1717

1818
const exists = await fs.exists(path.join(dir, "project.json"));

0 commit comments

Comments
 (0)