awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.15k stars 770 forks source link

Load Wizards from AWS Shell data path #151

Open joguSD opened 7 years ago

joguSD commented 7 years ago

This is to get the wizards I've created checked in somewhere and begin the conversation of how wizard models should be integrated with the shell. From previous discussion it seems that each service should have a wizards-1.json file that has a key corresponding to each of these wizards. With this approach the wizard handler command would likely change from .wizard <name> to .wizard <service> <name>. This would also likely impact the specification for wizard delegation in a similar manner in that the service would also need to be specified. Perhaps rather than the resource being the wizard name directly it would look more like:

"Resource": {
    "Service": "ec2",
    "Name": "WizardName"
}

@JordonPhillips @kyleknap @jamesls