aws-shell
aws-shell copied to clipboard
Add progress status for long running commands
This request seems to be quite popular (measured by Reddit upvotes).
himynameisjoeyc
Hopefully they include some progress bars, time remaining and current operation info( also prays for indexes) on s3 api...
himynameisjoeyc
Does this by chance include an S3 sync progress metric?
Also relates to: https://github.com/awslabs/aws-shell/issues/30
This might be more of an 'epic' that we eventually break out into smaller chunks.
This would be really useful. I'm not sure how feasible this is in the aws-shell. We just shell out to the aws-cli, which manages the entire transfer/sync process. Because of this we don't have a way for the CLI to give us fine grained data how much data has been transferred. We'd need to update the CLI to communicate this info.
Crazy idea: boto3 provides the granularity we need to provide progress bars for s3. We could somehow call boto3 directly within the shell to upload/download files (unfortunately there's no sync functionality in boto3), but I have no idea how to expose that in a consistent way that would make sense to users. Just thinking about loud...
Interesting idea with mixing in boto3 :)
I think the first option you proposed would be cleaner and would also solve the problem for users on aws-cli who are also experiencing this issue. It sounds like it might be tough from a technical perspective though.