MCPcopy
hub / github.com/TransformerOptimus/SuperAGI / check_command

Function check_command

ui.py:9–12  ·  view source on GitHub ↗
(command, message)

Source from the content-addressed store, hash-verified

7from superagi.lib.logger import logger
8
9def check_command(command, message):
10 if not shutil.which(command):
11 logger.info(message)
12 sys.exit(1)
13
14
15def run_npm_commands(shell=False):

Callers 1

ui.pyFile · 0.70

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected