awslabs / awslabs/aws-shell

Feature request: Add support for variables

Open
#114 2 comments 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
7.3k
Forks
780
PR merge metrics
No merged PRs in 30d

Description

Not sure about the specifics, but at a high level, it would be nice to do something like:

```
aws> variable=$(ec2 describe-instances --query "Reservations[0].Instances[0].InstanceId" --output text)
aws> ec2 start-instances --instance-ids $variable
```

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing how the shell parses and executes commands, then define how assignment and variable substitution should work for the shown AWS CLI example; done means both commands execute with the captured instance ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.