How can I list just the subcommands from AWS CLI help command

0

Hi, I am trying to write automation to generate cli skeletons for all sub-commands related to an AWS service (e.g., aws ecs help). I haven't been able to find a "list-commands" operation that applies to all services and as a result have been running the help command and then manually copying and pasting the command list as input into another script to format the commands in a way for me to use in the script I am using to create skeleton files.

Does this functionality exist and if not, is there a process for requesting feature enhancements to the AWS CLI?

Thank you

paul
asked 7 months ago213 views
1 Answer
3
Accepted Answer

To best of my knowledge, no there is no functionality of that sort available. If you have support plan, through which you can create case, you can definitely ask if this can be an intake for a feature.

If you have Enterprise Support, you can ask your AWS Account Team for same and they may put a request on your behalf. Be advised, such requests take time as it goes through multiple phases and may be deprioritized due to other critical requirements/priorities too.

profile pictureAWS
EXPERT
answered 7 months ago
profile picture
EXPERT
reviewed 7 months ago
profile pictureAWS
EXPERT
reviewed 7 months ago
  • Awesome. Thank you

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions