Add start up message
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Ruby
- Stars
- 478
- Forks
- 158
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 12
Description
When starting IRB directly, it could be helpful to users to have a few information printed, like:
- Ruby version
- Reline version?
- Minimum instructions, like how to get help or exit the session
Requirements
- It should be printed when IRB is started with the
irbcommand - It should NOT be printed when
binding.irbis called - It should NOT be printed when Rails console is invoked
- There should be a way to disable it
- I prefer env var over
IRB.confon this
- I prefer env var over
Examples
$ be irb
IRB 1.7.4 (Ruby 3.2.2, Reline 0.3.8)
Help: show_cmds
Exit: exit or Ctrl-D
irb(main):001>
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 by tracing how the irb command starts compared with binding.irb and Rails console, then identify where startup output and environment configuration are handled. Done means the requested version and help text appear only for direct irb invocation, can be disabled, and are covered by tests for all three invocation paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100