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

Clean up Prompt Package to Expose Only the Factory and Prompt Interfaces #23

Open
TheHipbot opened this issue Dec 12, 2018 · 0 comments

Comments

@TheHipbot
Copy link
Owner

The prompt package is doing too much. Functions like CreateDriverSelectPrompt and CreateRepoSelectPrompt should be moved out to where the prompt is needed along with the labels and templates. This will make it more generic and removed the necessity to create yet another function for every prompt. There should also probably be a NewPrompter or NewFactory function exposed so that the user can call the factory directly.

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

No branches or pull requests

1 participant