Skip to content

ConsoleEngineImpl: add which command (backport)#1636

Merged
gnodet merged 2 commits intojline-3.xfrom
backport/which-command
Feb 19, 2026
Merged

ConsoleEngineImpl: add which command (backport)#1636
gnodet merged 2 commits intojline-3.xfrom
backport/which-command

Conversation

@gnodet
Copy link
Member

@gnodet gnodet commented Feb 19, 2026

Summary

  • Backport of ConsoleEngineImpl: add which command #1358: adds a which command to ConsoleEngineImpl
  • Shows whether a command name is an alias, a registered command, or a script (with its path)
  • Includes fix: scripts().containsKey() instead of scripts().keySet().contains()

@gnodet gnodet added this to the 3.30.7 milestone Feb 19, 2026
@gnodet gnodet merged commit eecb036 into jline-3.x Feb 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments