Skip to content

Commit 51143ee

Browse files
committed
Use standard sysout instead using rich library print() function
1 parent b72696c commit 51143ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

domaintools/cli/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def run(cls, name: str, params: Optional[Dict] = {}, **kwargs):
193193

194194
if isinstance(out_file, _io.TextIOWrapper):
195195
# use rich `print` command to prettify the ouput in sys.stdout
196-
print(output)
196+
typer.echo(output)
197197
else:
198198
# if it's a file then write
199199
out_file.write(output if output.endswith("\n") else output + "\n")

0 commit comments

Comments
 (0)