I redesigned the initial prompt to provide more info up-front and require fewer steps.
I also removed the question for the directory name. Instead, now the script generates a directory name by kebab-casing the app name.
Continuing from the default app name shown above, all questions default to values for the Feynman example. If this is weird maybe we can just add a branching question earlier that prompts the user to either generate a working example or to connect to their own data source. @mrderyk WDYT?
That would simplify things in the last step, which defaults to Feynman-oriented questions.
@mrderyk I ended up implementing the branching question, which I think is easier to understand. If you select sample data then the prompts end and plop generates the app.
Closes https://github.com/vectara/create-ui/issues/1 Blocked on https://github.com/vectara/create-ui/pull/18
Changes
I redesigned the initial prompt to provide more info up-front and require fewer steps.
I also removed the question for the directory name. Instead, now the script generates a directory name by kebab-casing the app name.
Continuing from the default app name shown above, all questions default to values for the Feynman example. If this is weird maybe we can just add a branching question earlier that prompts the user to either generate a working example or to connect to their own data source. @mrderyk WDYT?
That would simplify things in the last step, which defaults to Feynman-oriented questions.