refactor(cmd): namespace command internals (#550) #554
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/forge.nvim!554
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/cmd-namespace-550"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
:Forgecommand implementation still exposed a flat set of internalcmd_*modules at the root oflua/forge/, even though they form one cohesive command subsystem with a single public facade atrequire('forge.cmd').Solution
Move the parser, completion, dispatch, and resolver helpers under
lua/forge/cmd/, keeprequire('forge.cmd')stable viacmd/init.lua, and update the command spec harness to preload and reset the new namespaced internal modules.Issue: #550