Gregor Müllegger10/02/2019, 8:18 AM
emre10/02/2019, 8:40 AM
, if you share that section of your logs. 2. I am not exactly familiar with building CLI tools, but using
is probably the way to go. After the
state = flow.run()
will be set to some state from
for a failed run,
for a successful run, maybe some other states for edge cases. I think that is enough to infer an exit code from.
Gregor Müllegger10/02/2019, 9:04 AM
if not state.is_successful(): sys.exit(1)
josh10/02/2019, 1:31 PM
for successful and
for failure (taken off of the result from the flow run). I haven’t seen this use case before and would love to hear more about it!