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

Add rebuild command #90

Merged
merged 3 commits into from
Feb 11, 2014
Merged

Add rebuild command #90

merged 3 commits into from
Feb 11, 2014

Conversation

PierreFrisch
Copy link

I needed to add the rebuild command. I have also added the fuzzy detection of the image.

:type => :boolean,
:aliases => "-c",
:desc => "Skip confirmation of the action"
method_option "imageId",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do image_id to keep it consistent with the other CLI methods?

@pearkes
Copy link
Collaborator

pearkes commented Feb 6, 2014

Nice! A couple thoughts on the method option stuff from the CLI, but this looks really great.

One major thing is that there aren't any tests. We do have tests on the rest of the CLI (see the spec/ directory). Do you mind adding some for this? You can run tests with rspec, available with a bundle locally.

Let me know if you're having trouble with the tests, I can definitely help out.

Thanks a ton!

@PierreFrisch
Copy link
Author

Let me have a look at the tests.

I have committed some basic test. I hope there enough coverage as there are many combinaisons…

@PierreFrisch
Copy link
Author

I have since had to create 2 more commands destroy_image and info_image do you want me to roll it in one pull request or do you prefer to deal with one after the other?

@pearkes
Copy link
Collaborator

pearkes commented Feb 11, 2014

@PierreFrisch We should probably keep them separate to make it easier. This looks great! I'm going to merge it in.

pearkes added a commit that referenced this pull request Feb 11, 2014
@pearkes pearkes merged commit c9a6669 into petems:master Feb 11, 2014
@pearkes
Copy link
Collaborator

pearkes commented Feb 11, 2014

Thank you! Feel free to open PRs for the other stuff. :)

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.

3 participants