MCPcopy
hub / github.com/donnemartin/saws / run_cli

Method run_cli

saws/saws.py:452–465  ·  view source on GitHub ↗

Runs the main loop. Args: * None. Returns: None.

(self)

Source from the content-addressed store, hash-verified

450 eventloop=eventloop)
451
452 def run_cli(self):
453 """Runs the main loop.
454
455 Args:
456 * None.
457
458 Returns:
459 None.
460 """
461 print('Version:', __version__)
462 print('Theme:', self.theme)
463 while True:
464 document = self.aws_cli.run(reset_current_buffer=True)
465 self._process_command(document.text)

Callers 1

cliFunction · 0.95

Calls 1

_process_commandMethod · 0.95

Tested by

no test coverage detected