Compare commits

...

3 commits

Author SHA1 Message Date
3439434c08
fixme/graphviz
Some checks failed
/ job (push) Failing after 14m6s
2024-07-17 11:57:44 +02:00
4a9640475e
graphviz 2024-07-17 11:42:08 +02:00
0df7570326
plantuml 2024-07-17 11:29:24 +02:00
2 changed files with 10 additions and 0 deletions

View file

@ -80,7 +80,9 @@ from various contexts of CA, CI and OCI / OS.
* implement project repository cloning
* install
* epel
* plantuml
* shellcheck
* graphviz
* openssh
* pip
* ruff

View file

@ -7,6 +7,7 @@ from pathlib import Path
from rwx import fs
from rwx.log import stream as log
from rwx.ps import run
import spcd
from spcd import cmd
@ -35,6 +36,13 @@ def main(main: str) -> None:
if name == "__main__.py":
spcd.set_ssh(*arguments)
spcd.install_commands(main)
# FIXME abstract command
run(
"apt-get",
"install",
"--assume-yes",
"graphviz",
)
else:
function = getattr(cmd, name.replace("-", "_"))
function(*arguments)