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

Refactor Generator API #801

Closed
rainboyan opened this issue Dec 15, 2024 · 0 comments
Closed

Refactor Generator API #801

rainboyan opened this issue Dec 15, 2024 · 0 comments
Assignees
Labels
theme: cli Issues related to grace cli type: enhancement A general enhancement
Milestone

Comments

@rainboyan
Copy link
Member

rainboyan commented Dec 15, 2024

Introduce GenerationContext to Generator,

public interface Generator {


    boolean generate(GenerationContext generationContextntenxt);

    boolean help(GenerationContext generationContext);

}

See #772

@rainboyan rainboyan added theme: cli Issues related to grace cli type: enhancement A general enhancement labels Dec 15, 2024
@rainboyan rainboyan added this to the 2023.2.0-M2 milestone Dec 15, 2024
@rainboyan rainboyan self-assigned this Dec 15, 2024
rainboyan added a commit that referenced this issue Dec 17, 2024
* Add `void init(GenerationContext contenxt)`
* Enhance `GenerationContext`

See gh-801

Closes gh-805
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: cli Issues related to grace cli type: enhancement A general enhancement
Projects
Status: Done
Development

No branches or pull requests

1 participant