You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/repo-docs/crafting-your-repository/developing-applications.mdx
+29-10
Original file line number
Diff line number
Diff line change
@@ -42,16 +42,6 @@ You can now run your `dev` task to start your development scripts in parallel:
42
42
turbo dev
43
43
```
44
44
45
-
### Interacting with tasks
46
-
47
-
Some scripts allow you to type into them using `stdin` for interactive inputs. Using [the terminal ui](https://turbo.build/repo/docs/reference/configuration#ui), you can select a task, enter it, and use `stdin` as you typically would.
You may also want to run scripts that set up your development environment or pre-build packages. You can make sure those tasks run before the `dev` task with `dependsOn`:
@@ -81,6 +71,35 @@ The `--filter` flag allows you to pick a subset of your [Package Graph](/repo/do
81
71
turbo dev --filter=web
82
72
```
83
73
74
+
## Using the terminal UI
75
+
76
+
Turborepo's terminal UI enables a number of features that create a highly interactive experience around your tasks.
77
+
78
+
### Customizing your view
79
+
80
+
You can quickly adjust the UI to your needs using keybinds.
|`↑`/`↓`| Select the next/previous task in the task list |
86
+
|`j`/`k`| Select the next/previous task in the task list |
87
+
|`p`| Toggle selection pinning for selected task |
88
+
|`h`| Toggle visibility of the task list |
89
+
|`c`| When logs are highlighted, copy selection to the system clipboard |
90
+
|`u`/`d`| Scroll logs `u`p and `d`own |
91
+
92
+
### Interacting with tasks
93
+
94
+
Some of your tools may allow you to type input into them. Examples of this include Drizzle ORM's interactive migrations or Jest's filtering and re-running of test suites.
95
+
96
+
You can interact with tasks that are [marked as interactive](/repo/docs/reference/configuration#interactive) to give them input.
97
+
98
+
| Keybind | Action |
99
+
| -------- | ----------------- |
100
+
|`i`| Begin interacting |
101
+
|`Ctrl+z`| Stop interacting |
102
+
84
103
## Watch Mode
85
104
86
105
Many tools have a built-in watcher, like [`tsc --watch`](https://www.typescriptlang.org/docs/handbook/compiler-options.html#compiler-options),
0 commit comments