From f776b8468d63b4078738fb488d3c375a55fd6421 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 13 Jun 2024 12:34:05 +0200 Subject: [PATCH] step/log --- cd/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cd/__init__.py b/cd/__init__.py index b310cfd..fa17729 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -5,6 +5,7 @@ from pathlib import Path import env from rwx import fs, ps +from rwx.log import stream as log from cd.project import Project from cd.projects import Projects @@ -153,6 +154,6 @@ def split() -> None: def step(*arguments: str) -> None: env.CD_STEP += 1 - print(env.CD_DOWN) + log.log(env.CD_DOWN) print(env.CD_VERT, env.CD_STEP, *arguments) - print(env.CD___UP, flush=True) + log.log(env.CD___UP)