output
etl_craft.cli.output ¶
The only place etl-craft writes to the terminal.
Command results go to standard output, so they can be piped; errors go to standard error, next to the log records.
Output ¶
Writes a command's results and errors.
The streams default to the current sys.stdout and sys.stderr, looked up at each
write, so redirecting them after construction still takes effect.
__init__ ¶
Write to the given streams instead of the process's standard streams.
document ¶
Write the same JSON document returned by the service serializer.
result ¶
Write JSON or render the command's text, defaulting to its outcome message.
rows ¶
Write one tab-separated line per row; None becomes an empty field.