-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.needs-reviewThis issue or pull request needs review from a core team member.This issue or pull request needs review from a core team member.p3This is a minor priority issueThis is a minor priority issues3
Description
Describe the feature
Add short option parameters to the object-based aws s3 commands as aliases to the long option parameters.
In addition, short option combining (ie -rsn is equivalent to -r -s -n) needs to be verified as working.
I don't use auto-complete because I need to minimise shell start-up time. I don't use auto-prompt mode as it is much slower than entering the arguments in fully for me.
Use Case
This will reduce the friction when typing these commands many times in the command line.
Proposed Solution
| alias | existing | commands |
|---|---|---|
-r |
--recursive |
cp, ls, mv, rm |
-H 1 |
--human-readable |
ls |
-s |
--summarize |
ls |
-n |
--dryrun |
cp, mv, rm |
Aliases that I think are optional:
| alias | existing | commands |
|---|---|---|
-q |
--quiet |
cp, mv, rm |
-i |
--include |
cp, mv, rm |
-e |
--exclude |
cp, mv, rm |
I think all other parameters don't need short aliases.
Other Information
Former requests:
- Feature request: consider adding short options #1753: closed due to lack of +1s
- Support short form arguments for high level commands #1602: closed as duplicate of Feature request: consider adding short options #1753
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CLI version used
2.32.29
Environment details (OS name and version, etc.)
Python 3.13.11; Ubuntu 24.04.3
Footnotes
-
not
-has that is used often as an alias for--helpin many apps ↩
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.needs-reviewThis issue or pull request needs review from a core team member.This issue or pull request needs review from a core team member.p3This is a minor priority issueThis is a minor priority issues3