Skip to content

Commit 6636b67

Browse files
committed
docs: update readme
1 parent 5663be0 commit 6636b67

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,25 @@ console.log(`Hello from ${$.blue.bold("dzx")}!`);
3434
const branch = await $`git branch --show-current`;
3535
await $`dep deploy --branch=${branch}`;
3636

37-
cd("src/foo");
38-
cd("src/bar");
39-
4037
await Promise.all([
4138
$`deno lint --unstable`,
4239
$`deno fmt --check`,
4340
$`deno test --allow-all`,
4441
]);
4542

4643
const name = "foo bar";
47-
await $`mkdir /tmp/${name}`; // <-- string will be safly quoted to: /tmp/'foo bar'
44+
await $`mkdir ./tmp/${name}`; // params will be quoted if required: /tmp/'foo bar'
45+
46+
cd("tmp/foo bar");
47+
console.log(Deno.cwd()); // ./tmp/foo bar
48+
49+
cd("tmp");
50+
console.log(Deno.cwd()); // ./tmp
51+
52+
await async.delay(1000);
53+
const basename = path.basename(import.meta.url);
54+
const stdin = await io.readAll(Deno.stdin);
55+
await fs.ensureDir("./tmp");
4856
```
4957

5058
## Content

0 commit comments

Comments
 (0)