Skip to content

Make API generation non interactive #5078

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

Merged
merged 5 commits into from
Nov 9, 2020

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Nov 9, 2020

Our ApiGenerator could only be run interactively.

This PR adds proper flags and help and makes the tool non-interactive by default.

In addition to this we switched to async everywhere allowing the tool to be interopted using e.g CTRL+C.

Now is non interactive by default and can be controlled with commandline
arguments.

Proper cancellation support to cancel generation.

Cleaned up console output a bit
@Mpdreamz Mpdreamz requested a review from stevejgordon November 9, 2020 12:23
@Mpdreamz Mpdreamz merged commit 06d9c52 into master Nov 9, 2020
@Mpdreamz Mpdreamz deleted the fix/master/doc-generatio-arguments branch November 9, 2020 12:55
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Mpdreamz added a commit that referenced this pull request Nov 9, 2020
Mpdreamz added a commit that referenced this pull request Nov 9, 2020
(cherry picked from commit 06d9c52)
(cherry picked from commit 6a1ca48)
@elastic elastic deleted a comment from github-actions bot Nov 9, 2020
@Mpdreamz
Copy link
Member Author

Mpdreamz commented Nov 9, 2020

Manually backported to 7.10 and 7.x.

6.x has drifted too far to make backporting this worthwhile.

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.

1 participant