Skip to content

Hide tailwindcss:authentication from rails g #483

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

Merged

Conversation

patriciomacadden
Copy link
Contributor

If you run rails g you can see the following output under Tailwindcss:

Tailwindcss:
  tailwindcss:authentication

You would normally run just rails g authentication and it will pick your template engine of choice (tailwindcss comes up as a template engine) and run that generator for you.

This PR hides it from the help text, similar to rails/rails#53798 (does the same to erb:authentication).

@flavorjones
Copy link
Member

Nice! TIL about hidden generator namespaces.

@flavorjones flavorjones merged commit 3a5fedc into rails:main Jan 29, 2025
17 checks passed
@patriciomacadden patriciomacadden deleted the hide-authentication-generator branch January 29, 2025 15:52
@EricGusmao
Copy link
Contributor

By the way, this PR can be backported to v3

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