feat: allow `mason make` to run without confirmation
- 主要语言
- Dart
- 星标
- 1.1k
- 派生
- 113
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Description**
During testing, it would be much terser if `yes "\n" | mason make .."` is valid. However this throws an error:
```
StdinException: Error setting terminal echo mode, OS Error: Inappropriate ioctl for device, errno = 25
```
**Requirements**
- [ ] Fix the CLI to accept stdin in such a way to allow `yes` to work; or
- [ ] Add a new flag that performs similar functionality e.g. `--no-confirm`
- [ ] Requires `--on-conflict`?
- [ ] Requires all required options are present either in the command line or a config file
**Additional Context**
I'm still looking for workarounds, might be able to close this issue if one is found.
My [brick](https://brickhub.dev/bricks/flutter_rust_bridge/) only has optional inputs, so it would be great to have the ability to skip specifying them during testing. Passing a config file is fine but I would prefer not duplicating input from brick.yaml. It also conditionally prompts for additional input in the hooks, so having `yes` be able to skip them is an improvement.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。