Skip to content
Discussion options

You must be logged in to vote

thanks for the suggestion!

i was about to make a PR and then realized this does seem to be supported already with the --skip-test-framework flag.

https://api.rubyonrails.org/classes/Rails/Generators/Base.html#method-c-hook_for-label-Switches

i'm surprised this doesn't show up in the output of rails g component --help – i would expect it to be similar to rails new --help where it shows all the --skip flags. i imagine that's a change that would need to happen in rails.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@schpet
Comment options

Answer selected by joelhawksley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants