From c7c0d7c7d7fc7abacc8d929d23ce6e743e664efa Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 20 Oct 2024 19:12:47 +0200 Subject: [PATCH] action --- spcd/act.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spcd/act.py b/spcd/act.py index 8153867..68ea759 100644 --- a/spcd/act.py +++ b/spcd/act.py @@ -4,11 +4,20 @@ import os from pathlib import Path from rwx import ps +from rwx.log import stream as log from spcd.ci import project, projects from spcd.shell import env +def action() -> None: + """Display action inputs.""" + prefix = "" + for variable, value in sorted(projects.environment.items()): + if variable.startswith(prefix): + log.info("%s = %s", variable, value) + + def synchronize(source: str | None = None, target: str | None = None) -> None: """Synchronize output towards a target.