Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
6
from
superagi.lib.logger
import
logger
7
8
def
check_command(command, message):
9
if
not shutil.which(command):
10
logger.info(message)
11
sys.exit(1)
12
13
def
run_npm_commands():
14
os.chdir(
"gui"
)
Callers
1
run_gui.py
File · 0.70
Calls
1
info
Method · 0.80
Tested by
no test coverage detected