#How to use dagger CLI with custom type returned

1 messages · Page 1 of 1 (latest)

barren lodge
#

Given a custom TestResult object_type with an exit code and a log_file, is it possible to use the dagger CLI to write the contents of the log_file to a disk and return the exit code in a single call?

Or do I need to call multiple times, first to archive the result and then a second time to get the exit code and return it?

upper dove
barren lodge
#

Thanks for sharing @upper dove .

I feel like adding this feature would be a major win. I'm trying to sell dagger to my team and without it I think it's going to be more difficult.

oak scarab