Skip to content

Commit 4f462b2

Browse files
authored
Merge pull request #4 from livekit-examples/bcherry/taskfile
Add a taskfile for CLI usage
2 parents 279d1f1 + 9467a4a commit 4f462b2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

taskfile.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: "3"
2+
output: interleaved
3+
dotenv: [".env"]
4+
5+
tasks:
6+
post_create:
7+
desc: "Runs after this template is instantiated as a Sandbox or Bootstrap"
8+
cmds:
9+
- echo -e "To try the new agent directly in your terminal:\r\n"
10+
- echo -e "\tcd {{.ROOT_DIR}}\r"
11+
- echo -e "\tuv sync\r"
12+
- echo -e "\tuv run src/agent.py download-files\r"
13+
- echo -e "\tuv run src/agent.py console\r\n"
14+
15+
install:
16+
desc: "Bootstrap application for local development"
17+
cmds:
18+
- "uv sync"
19+
dev:
20+
interactive: true
21+
cmds:
22+
- "uv run src/agent.py dev"

0 commit comments

Comments
 (0)