-
Notifications
You must be signed in to change notification settings - Fork 3
Interactive mode #110
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
Interactive mode #110
Conversation
…into interactive-mode
| chartType: string; | ||
| }; | ||
|
|
||
| const manifest: VersionManifest<Choices33> = { |
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.
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; |
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.
This matches the existing env value that was previously set by the command line.
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