Improve error handling on install #59
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
When you run the install command with an incorrect library name:
rails g rails_icons:install --libraries=herocions
it breaks:This is confusing as the error message is not correct.
Should improve checks on correct library names in the various generators.
Create a new error: https://github.com/Rails-Designer/rails_icons/blob/main/lib/rails_icons/errors.rb and check in each generator: https://github.com/Rails-Designer/rails_icons/tree/main/lib/generators/rails_icons
The text was updated successfully, but these errors were encountered: