We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
echo_always()
output_raw
output_dot
1 parent 377bd3f commit 01e52c5Copy full SHA for 01e52c5
metaflow/cli.py
@@ -206,15 +206,15 @@ def output_raw(obj, json):
206
else:
207
_graph = str(obj.graph)
208
_msg = "Internal representation of the flow:"
209
- echo(_msg, fg="magenta", bold=False)
+ echo_always(_msg, fg="magenta", bold=False)
210
echo_always(_graph, err=False)
211
212
213
@cli.command(help="Visualize the flow with Graphviz.")
214
@click.pass_obj
215
def output_dot(obj):
216
- echo("Visualizing the flow as a GraphViz graph", fg="magenta", bold=False)
217
- echo(
+ echo_always("Visualizing the flow as a GraphViz graph", fg="magenta", bold=False)
+ echo_always(
218
"Try piping the output to 'dot -Tpng -o graph.png' to produce "
219
"an actual image.",
220
indent=True,
0 commit comments