Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRenderedAPIError ¶
Types ¶
type App ¶
type App struct {
In io.Reader
Out, Err io.Writer
// MCPExecutable overrides the adjacent pinned helper for embedding/tests.
MCPExecutable string
Version, Commit string
BuildDate string
// OpenBrowser overrides the browser launcher for embedding/headless flows.
// A nil value uses the operating-system launcher when a browser can open.
OpenBrowser func(context.Context, string) error
// Sleep overrides the wait between device login polls in tests.
Sleep func(context.Context, time.Duration) error
// contains filtered or unexported fields
}
func (*App) WriteReference ¶
WriteReference writes the CLI reference of the docs site into dir: one MDX page per command group, from the same command trees and help the CLI shows, so the pages cannot drift from the binary. Files in dir that it did not write are removed.
Click to show internal directories.
Click to hide internal directories.