Skip to content

Commit 4efa311

Browse files
committed
feat(web-host): add tee to example commands
1 parent 58bf163 commit 4efa311

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/web-host/src/hooks/exampleCommands.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ const commands = [
4141
() => ls("data/processed/2024"),
4242
() => ls("documents"),
4343
() => cat("documents/config.json"),
44+
"echo We can also write to files! 🔥",
45+
"tee output.txt",
46+
"cat output.txt",
47+
"echo We can write to files in append mode!",
48+
"tee -a output.txt",
49+
"echo Some more text",
50+
"tee -a output.txt",
51+
"echo Even more text",
52+
"tee -a output.txt",
53+
"cat output.txt",
4454
"weather Paris",
4555
"man weather",
4656
"help",

0 commit comments

Comments
 (0)