Skip to content

Conversation

@OutlawAndy
Copy link
Member

@OutlawAndy OutlawAndy commented Aug 13, 2025

Why?

Why were the changes needed? What issues were the changes addressing?
(Note: some changes may seem unrelated to the ticket, this is a great place to explain further.)

What Changed

What changed in this PR?

  • bin/new_generator script
  • generate generator file stubs
  • generate spec file stub
  • string manipulations class_name/path_name/usage_name

Pre-merge checklist

  • Update relevant READMEs
  • Update version number in lib/rolemodel_rails/version.rb

Screenshots

iTerm2 08 13 2025@12 10 23

@OutlawAndy OutlawAndy self-assigned this Aug 13, 2025
@Jeremy-Walton
Copy link
Member

I like this idea! I've done some similar stuff on Optics though not using thor. Building tools to help us follow the right structure is super helpful!
https://github.com/RoleModel/optics/blob/main/tools/generate.js
https://github.com/RoleModel/optics/blob/tools-experiment/tools/install.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants