datagrok-ai / public

Public package repository for the Datagrok.ai platform
MIT License
43 stars 26 forks source link

#2997: Tools: add questionnaire on package creation #2997

Closed santee closed 3 weeks ago

santee commented 1 month ago

The usual user experience while creating a new package is ask different questions like 'do you want to use eslint?'.

So, we'd want to keep all the existing flags in order not to break things for users, add a --silent flag for people who do not want interactive mode, and ask questions for flags not being specified. So, if one says --eslint - do not ask a question, just use it, otherwise, ask it.

santee commented 1 month ago

Also, package/folder name should be a question as well. Option chosen by default should 'create folder'.

dnillovna commented 1 month ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16509

santee commented 1 month ago

Suggest to use https://www.npmjs.com/package/prompts

skalkin commented 3 weeks ago

I don't think we need these options. Why not just use eslint always?

skalkin commented 3 weeks ago

Closing this as not important. Feel free to reopen