-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds Export Tool for parsing/printing out exported workflow history from Cloud #12
Conversation
) | ||
|
||
func main() { | ||
if len(os.Args) != 2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe use urfave? or it's overkill 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think its probably a bit overkill for this. the goal here is to provide baseline sample code on how to process an export file
os.Exit(1) | ||
} | ||
|
||
fmt.Println(formattedWorkflow) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think maybe we can dump the formattedWorkflow to another file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thinking more about this, customer can probably just do this by piping the output themselves (or modifying the sample if needed)
What was changed
Why?
Checklist
Closes
How was this tested: