Skip to content

Conversation

@StephenCooper
Copy link
Member

@StephenCooper StephenCooper commented Jan 10, 2025

Setup a mechanism that each version is able to ask the user questions about their code base / what they want to do.

https://ag-grid.atlassian.net/browse/AG-13726

chartType: string;
};

const manifest: VersionManifest<Choices33> = {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idea is to have each version able to ask the user questions for input. These can then be used to set global variables that can be used within the transforms themselves to tweak behaviour.

process.env.AG_IS_USING_CHARTS = answer;
},
chartType: (answers) => {
process.env.AG_USING_CHARTS = answers;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This matches the existing env value that was previously set by the command line.

@StephenCooper StephenCooper merged commit 256f7f1 into develop Jan 14, 2025
3 checks passed
@StephenCooper StephenCooper deleted the interactive-mode branch January 14, 2025 15:52
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.

4 participants