MCPcopy
hub / github.com/larksuite/cli / stubInvocation

Struct stubInvocation

cmd/platform_guards_test.go:207–207  ·  view source on GitHub ↗

stubInvocation is the minimal platform.Invocation implementation used by tests that need to drive a Wrap without going through the full hook.Install pipeline.

Source from the content-addressed store, hash-verified

205// used by tests that need to drive a Wrap without going through the
206// full hook.Install pipeline.
207type stubInvocation struct{}
208
209func (stubInvocation) Cmd() platform.CommandView { return stubView{} }
210func (stubInvocation) Args() []string { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected