Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`hanami generate repository` would be a nice alias for `hanami generate repo`

Open Beginner friendly
#455 0 comments 0 reactions 0 assignees View on GitHub

@sandbergja is already working on this.

Since Oct 12, 2026.

  • #456 by @sandbergja — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
ruby
Domain
cli

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

bug help wanted

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hanami/hanami-cli

All issues in hanami/hanami-cli

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.