Run a single wizard given the contents as a string.
(self, wizard_contents)
| 41 | self._session = session |
| 42 | |
| 43 | def run_wizard(self, wizard_contents): |
| 44 | """Run a single wizard given the contents as a string.""" |
| 45 | from awscli.customizations.wizard.factory import create_wizard_app |
| 46 | |
| 47 | loaded = self._wizard_loader.load(wizard_contents) |
| 48 | app = create_wizard_app(loaded, self._session) |
| 49 | app.run() |
| 50 | print(f'Collected values: {app.values}') |
| 51 | |
| 52 | |
| 53 | class WizardDev(BasicCommand): |
no test coverage detected