MCPcopy Create free account
hub / github.com/mkdocstrings/griffe / run

Function run

scripts/make.py:169–180  ·  view source on GitHub ↗

Run a command in the default virtual environment. ```bash make run [ARG...] ``` This command runs an arbitrary command inside the default virtual environment (`.venv`). It is especially useful to start a Python interpreter without having to first activate the virtual

(cmd: str, *args: str, **kwargs: Any)

Source from the content-addressed store, hash-verified

167
168@_command("run")
169def run(cmd: str, *args: str, **kwargs: Any) -> None:
170 """Run a command in the default virtual environment.
171
172 ```bash
173 make run <CMD> [ARG...]
174 ```
175
176 This command runs an arbitrary command inside the default virtual environment (`.venv`).
177 It is especially useful to start a Python interpreter without having to first activate
178 the virtual environment: `make run python`.
179 """
180 _run("default", cmd, *args, **kwargs)
181
182
183@_command("multirun")

Callers 5

git_repoFunction · 0.85
helpFunction · 0.85
multirunFunction · 0.85
allrunFunction · 0.85
mainFunction · 0.85

Calls 1

_runFunction · 0.85

Tested by 1

git_repoFunction · 0.68