[v2][auto-prompt] Redirect output to file with auto-prompt?
Open
auto-prompt-mode
feature-request
p2
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Discussed in https://github.com/aws/aws-cli/discussions/7569
Originally posted by **weibeld** January 6, 2023
Currently, writing something like this in auto-prompt mode results in an error:
```bash
> aws ec2 describe-instances >out.json
```
The `>out.json` output redirection is interpreted by the AWS CLI rather than by the shell.
Is there any way to redirect the output to a file with auto-prompt?
Contributor guide
Assessment
This issue has not been assessed yet.