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

Function check_command

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

Source from the content-addressed store, hash-verified

9
10
11def check_command(command, message):
12 if not shutil.which(command):
13 logger.info(message)
14 sys.exit(1)
15
16
17def run_npm_commands(shell=False):

Callers 1

cli2.pyFile · 0.70

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected