Add the option to hide both the task and command lines in the task output (#20920)

The goal is to be able to hide these lines from a task output:

```sh
⏵ Task `...` finished successfully
⏵ Command: ...
```

---------

Co-authored-by: Peter Tripp <peter@zed.dev>
This commit is contained in:
Hugo Cardante 2024-11-22 18:45:42 +00:00 committed by GitHub
parent cb8028c092
commit 659b1c9dcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 38 additions and 6 deletions

View file

@ -41,7 +41,11 @@ Zed supports ways to spawn (and rerun) commands using its integrated terminal to
// "args": ["--login"]
// }
// }
"shell": "system"
"shell": "system",
// Whether to show the task line in the output of the spawned task, defaults to `true`.
"show_summary": true,
// Whether to show the command line in the output of the spawned task, defaults to `true`.
"show_output": true
}
]
```