MCPcopy Index your code
hub / github.com/aws/aws-cli / run_wizard

Method run_wizard

awscli/customizations/wizard/devcommands.py:43–50  ·  view source on GitHub ↗

Run a single wizard given the contents as a string.

(self, wizard_contents)

Source from the content-addressed store, hash-verified

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
53class WizardDev(BasicCommand):

Callers 1

_run_wizardMethod · 0.45

Calls 3

create_wizard_appFunction · 0.90
loadMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected