Skip to content

Update Optics Icon Generator#171

Open
OutlawAndy wants to merge 2 commits intomasterfrom
icon-library-class-option
Open

Update Optics Icon Generator#171
OutlawAndy wants to merge 2 commits intomasterfrom
icon-library-class-option

Conversation

@OutlawAndy
Copy link
Member

Why?

The main idea here was to make changing icon libraries easier by allowing users to just re-run the generator with a different icon library choice. I also think I like the idea of command line flags better than prompts.

What Changed

What changed in this PR?

  • update icon library choice from a thor prompt to a class option
  • add a step to clean up existing files
  • update documentation (both in generated templates & in the Usage docs)
  • add additional test coverage

Pre-merge checklist

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

Copy link
Member

@Jeremy-Walton Jeremy-Walton left a comment

Choose a reason for hiding this comment

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

The only concern I have is that if someone is running this and doesn't know what options are available, it seems more helpful to prompt them and show what options exist

@OutlawAndy
Copy link
Member Author

@Jeremy-Walton that's fair. I'll leave this here until we can discuss it some more.

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.

2 participants