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

Update CLI #13

Merged
merged 5 commits into from
Nov 16, 2018
Merged

Update CLI #13

merged 5 commits into from
Nov 16, 2018

Conversation

chall8908
Copy link
Contributor

This replaces the older style prompts with fancy ones using CLI::UI. It also removes the colorize dependency since CLI::UI provides colorizing functionality.

This also changes the actual clone from an exec to a spawn so that we can output a little extra at the end. This has a side benefit of telling us how long the operation took, since it was wrapped in a frame.

This moves the "Are you sure" question for dangerous database selection
into the main clone! function and also uses it for every manual operation.

By default, if the current clone is deemed dangerous, "no" is the default
option for the "Continue" question.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.757% when pulling 295da72 on chall8908:update-cli into 16d9748 on seanhuber:master.

@seanhuber
Copy link
Owner

Looks great! 😄

@seanhuber seanhuber merged commit 9757683 into seanhuber:master Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants