luckyframework / luckyframework/avram
lucky db.schema.dump does not show help message when argument is omitted
Open
Nobody has claimed this yet.
improve error experience
- Dominant language
- Crystal
- Stars
- 183
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description

When no arg is passed to db.schema.dump, it results in a fatal error.
It seems like there is intended to be an "uhoh" message that never shows up, here https://github.com/luckyframework/avram/blob/master/src/avram/tasks/db/schema_dump.cr#L11-L19
Contributor 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.
Research direction
Start with src/avram/tasks/db/schema_dump.cr at the referenced lines and run db.schema.dump without an argument to reproduce the fatal error. Trace why the intended "uhoh" message is not shown, then verify that the command displays that message instead of failing fatally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- cli, database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100