aws / aws/aws-cli

[v2][auto-prompt] Redirect output to file with auto-prompt?

Open
#7,576 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.