`hanami generate repository` would be a nice alias for `hanami generate repo`
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
Research direction
Start by reading the hanami generate command and the generator registration for repo in hanami-cli. Add repository as an alias for the existing repo generator, then run the generator’s relevant tests and confirm both command forms produce the same result.
Written by the indexing model from the issue text.
Description
Describe the bug
This is definitely a low-priority thing! The Hanami and ROM documentation both use the terminology "Repository", but the CLI expects you to type hanami generate repo.
To Reproduce
As I did this morning, type hanami generate repository Users in your hanami app 😆
It gives you the usage information, so you can quickly spot your mistake and type repo instead of repository
Expected behavior
I expected this to be an alias for hanami generate repo Users
I can open a PR for this shortly!
My environment
- Ruby version: 3.4.1
- OS: MacOS
- Dominant language
- Ruby
- Stars
- 33
- Forks
- 54
- Avg merge
- 12h 48m
- Merged PRs (30d)
- 2
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hanami/hanami-cli
-
Dumping db structure after migrations fails for projects with spaces in their pathPossibly taken A pull request linked to this issue is open or already merged. Openbug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hanami/hanami-cli#453 ·
-
db commands hand psql the user and password still percent encodedPossibly taken @aaronmallen claimed this 14 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
hanami/hanami-cli#449 · 1 comment · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
hanami/hanami-cli#450 ·
-
MariaDB supportOpen
Difficulty 5/5 Over a week Newbie friendliness 35/100
hanami/hanami-cli#448 · 3 comments ·
-
bug help wanted
Difficulty 3/5 1-2 days Newbie friendliness 55/100
hanami/hanami-cli#438 · 3 comments ·
All issues in hanami/hanami-cli
Similar issues
-
bug: "Conversation information" accordion renders blank with 0px height when conversation has no attributesPossibly taken @gihovani claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sclorg/s2i-ruby-container#660 · 1 comment ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 86/100
bridgetownrb/bridgetown#1130 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hlascelles/que-scheduler#611 ·
Maintainers usually reply within 1 day