Repl: :doc :e and :help :e should offer longer form docs #1201

Open
opened 2026-04-28 14:49:56 +00:00 by jade · 0 comments
Owner

Something I've noticed is that the repl never has any opportunity to properly explain itself. For example, oddball commands like :st have no surface to be able to explain how one might actually use them.

We should catch :help and :doc requests for :commands and turn them into a longer-form help surface like the one we have for built-ins, then emit it into the manual in a similar fashion as those.

Probably the implementation is to imitate what they do for code generation where we have markdown files that define the commands with front matter for whatever properties they need.

Something I've noticed is that the repl never has any opportunity to properly explain itself. For example, oddball commands like :st have no surface to be able to explain how one might actually use them. We should catch :help and :doc requests for :commands and turn them into a longer-form help surface like the one we have for built-ins, then emit it into the manual in a similar fashion as those. Probably the implementation is to imitate what they do for code generation where we have markdown files that define the commands with front matter for whatever properties they need.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1201
No description provided.