Compare commits
3 commits
86dfef68c1
...
3439434c08
Author | SHA1 | Date | |
---|---|---|---|
3439434c08 | |||
4a9640475e | |||
0df7570326 |
2 changed files with 10 additions and 0 deletions
|
@ -80,7 +80,9 @@ from various contexts of CA, CI and OCI / OS.
|
||||||
* implement project repository cloning
|
* implement project repository cloning
|
||||||
* install
|
* install
|
||||||
* epel
|
* epel
|
||||||
|
* plantuml
|
||||||
* shellcheck
|
* shellcheck
|
||||||
|
* graphviz
|
||||||
* openssh
|
* openssh
|
||||||
* pip
|
* pip
|
||||||
* ruff
|
* ruff
|
||||||
|
|
|
@ -7,6 +7,7 @@ from pathlib import Path
|
||||||
|
|
||||||
from rwx import fs
|
from rwx import fs
|
||||||
from rwx.log import stream as log
|
from rwx.log import stream as log
|
||||||
|
from rwx.ps import run
|
||||||
|
|
||||||
import spcd
|
import spcd
|
||||||
from spcd import cmd
|
from spcd import cmd
|
||||||
|
@ -35,6 +36,13 @@ def main(main: str) -> None:
|
||||||
if name == "__main__.py":
|
if name == "__main__.py":
|
||||||
spcd.set_ssh(*arguments)
|
spcd.set_ssh(*arguments)
|
||||||
spcd.install_commands(main)
|
spcd.install_commands(main)
|
||||||
|
# FIXME abstract command
|
||||||
|
run(
|
||||||
|
"apt-get",
|
||||||
|
"install",
|
||||||
|
"--assume-yes",
|
||||||
|
"graphviz",
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
function = getattr(cmd, name.replace("-", "_"))
|
function = getattr(cmd, name.replace("-", "_"))
|
||||||
function(*arguments)
|
function(*arguments)
|
||||||
|
|
Loading…
Reference in a new issue