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

Function check_command

run_gui.py:8–11  ·  view source on GitHub ↗
(command, message)

Source from the content-addressed store, hash-verified

6from superagi.lib.logger import logger
7
8def check_command(command, message):
9 if not shutil.which(command):
10 logger.info(message)
11 sys.exit(1)
12
13def run_npm_commands():
14 os.chdir("gui")

Callers 1

run_gui.pyFile · 0.70

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected