Expose canonical paths on command invocations

This commit is contained in:
2026-10-19 19:33:49 +00:00
parent 75fc45f072
commit 451a0c483f
5 changed files with 128 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ func (c typedCommand[I]) prepare(flagValues [][]string, operands []string, enfor
if c.privateRun != nil {
return c.privateRun(current.commandContext(), input)
}
return c.spec.Run(Invocation{Context: current.ctx, Streams: current.streams}, input)
return c.spec.Run(current.invocation(), input)
}, nil
}