Skip to content
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

Merged
merged 5 commits into from
Mar 1, 2024

Conversation

mastermanu
Copy link
Member

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@mastermanu mastermanu changed the title init checkin Adds Export Tool for parsing/printing out exported workflow history from Cloud Feb 1, 2024
go.mod Outdated Show resolved Hide resolved
)

func main() {
if len(os.Args) != 2 {
Copy link

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 😄

Copy link
Member Author

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)
Copy link

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?

Copy link
Member Author

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)

@mastermanu mastermanu merged commit 5ed2604 into main Mar 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants