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

Switch to use coala-utils.Question #261

Open
yzgyyang opened this issue Jun 23, 2018 · 4 comments
Open

Switch to use coala-utils.Question #261

yzgyyang opened this issue Jun 23, 2018 · 4 comments
Labels

Comments

@yzgyyang
Copy link
Member

IMO we should switch to use components in coala-utils like this one:

https://github.com/coala/coala-quickstart/blob/master/coala_quickstart/generation/SettingsFilling.py#L215

Use this instead:
https://gitlab.com/coala/coala-utils/blob/master/coala_utils/Question.py

(Note that it's currently blocked by https://gitlab.com/coala/coala-utils/issues/63)

@gitmate-bot
Copy link

GitMate.io thinks the contributor most likely able to help you is @satwikkansal.

@jayvdb
Copy link
Member

jayvdb commented Jul 9, 2018

To do this, the repo will need to install coala-utils, coala & coala-bears from git, not pypi

Something like coala/coala-bears@6906e54

However this will create a version conflict with coala-utils, as coala doesnt use coala-utils master. That needs to be done first. And that depends on di/pytest-reqs#16 :P

@jayvdb
Copy link
Member

jayvdb commented Jul 10, 2018

Did a bunch of PRs to get that moving https://github.com/di/pytest-reqs/pulls

@jayvdb
Copy link
Member

jayvdb commented Oct 18, 2018

https://pypi.org/project/argparse-prompt/ looks very interesting.

It looks like that might be very suitable for quickstart, allowing lots of options to be exposed to the CLI, or be deferred to the user as prompts.

It may not work for all of the prompts currently in quickstart, but even moving a few of the custom prompts to become argparse-prompt would be a big win for usability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants