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

Allow user to ignore class options for command #582

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snehitgajjar
Copy link

@snehitgajjar snehitgajjar commented Oct 1, 2017

There are two scenario where this funcitonality can be useful. 🌈

  1. There is a class_option with required: true and some command does not need that class option.
  2. There are some class options(required: true) which is used by most of the commands but not necessary for other commands.

@snehitgajjar
Copy link
Author

The build for 1.8.7 fails with problems in the webmock gem. As far as I can see, my change didn't cause these. It is erring out on requiring webmock/rspec in this file ./spec/actions/create_file_spec.rb.

@lostapathy
Copy link
Contributor

#583 fixes the webmock dep issue that's causing travis to fail here.

@snehitgajjar
Copy link
Author

@rafaelfranca Can you please take a look at it?

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.

2 participants