subcmd

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSSEServerAddr = "localhost:5000"

Variables

This section is empty.

Functions

This section is empty.

Types

type GetContentCmd

type GetContentCmd struct{}

func (*GetContentCmd) Execute

func (*GetContentCmd) Name

func (*GetContentCmd) Name() string

func (*GetContentCmd) SetFlags

func (*GetContentCmd) SetFlags(f *flag.FlagSet)

func (*GetContentCmd) Synopsis

func (*GetContentCmd) Synopsis() string

func (*GetContentCmd) Usage

func (*GetContentCmd) Usage() string

type GithubCmd

type GithubCmd struct {
	// contains filtered or unexported fields
}

func (*GithubCmd) Execute

func (c *GithubCmd) Execute(
	ctx context.Context,
	f *flag.FlagSet,
	args ...any,
) subcommands.ExitStatus

func (*GithubCmd) Name

func (*GithubCmd) Name() string

func (*GithubCmd) SetFlags

func (c *GithubCmd) SetFlags(f *flag.FlagSet)

func (*GithubCmd) Synopsis

func (*GithubCmd) Synopsis() string

func (*GithubCmd) Usage

func (*GithubCmd) Usage() string

type GoDocCmd

type GoDocCmd struct {
	// contains filtered or unexported fields
}

func (*GoDocCmd) Execute

func (c *GoDocCmd) Execute(
	ctx context.Context,
	f *flag.FlagSet,
	args ...any,
) subcommands.ExitStatus

func (*GoDocCmd) Name

func (c *GoDocCmd) Name() string

func (*GoDocCmd) SetFlags

func (c *GoDocCmd) SetFlags(f *flag.FlagSet)

func (*GoDocCmd) Synopsis

func (c *GoDocCmd) Synopsis() string

func (*GoDocCmd) Usage

func (c *GoDocCmd) Usage() string

type GoDocReadCmd

type GoDocReadCmd struct {
	// contains filtered or unexported fields
}

GoDocReadCmd is a subcommand for reading Go documentation.

func (*GoDocReadCmd) Execute

func (p *GoDocReadCmd) Execute(
	_ context.Context,
	f *flag.FlagSet,
	_ ...any,
) subcommands.ExitStatus

func (*GoDocReadCmd) Name

func (c *GoDocReadCmd) Name() string

func (*GoDocReadCmd) SetFlags

func (c *GoDocReadCmd) SetFlags(f *flag.FlagSet)

func (*GoDocReadCmd) Synopsis

func (c *GoDocReadCmd) Synopsis() string

func (*GoDocReadCmd) Usage

func (c *GoDocReadCmd) Usage() string

type GoDocSearchCmd

type GoDocSearchCmd struct{}

GoDocSearchCmd is a subcommand for searching Go documentation.

func (*GoDocSearchCmd) Execute

func (c *GoDocSearchCmd) Execute(
	_ context.Context,
	f *flag.FlagSet,
	_ ...any,
) subcommands.ExitStatus

func (*GoDocSearchCmd) Name

func (c *GoDocSearchCmd) Name() string

func (*GoDocSearchCmd) SetFlags

func (c *GoDocSearchCmd) SetFlags(f *flag.FlagSet)

func (*GoDocSearchCmd) Synopsis

func (c *GoDocSearchCmd) Synopsis() string

func (*GoDocSearchCmd) Usage

func (c *GoDocSearchCmd) Usage() string

type LocalSearchCmd

type LocalSearchCmd struct {
	// contains filtered or unexported fields
}

func (*LocalSearchCmd) Execute

func (p *LocalSearchCmd) Execute(
	_ context.Context,
	f *flag.FlagSet,
	_ ...any,
) subcommands.ExitStatus

func (*LocalSearchCmd) Name

func (*LocalSearchCmd) Name() string

func (*LocalSearchCmd) SetFlags

func (p *LocalSearchCmd) SetFlags(f *flag.FlagSet)

func (*LocalSearchCmd) Synopsis

func (*LocalSearchCmd) Synopsis() string

func (*LocalSearchCmd) Usage

func (*LocalSearchCmd) Usage() string

type MarkdownCmd

type MarkdownCmd struct {
	// contains filtered or unexported fields
}

func (*MarkdownCmd) Execute

func (p *MarkdownCmd) Execute(
	ctx context.Context,
	f *flag.FlagSet,
	args ...interface{},
) subcommands.ExitStatus

func (*MarkdownCmd) Name

func (*MarkdownCmd) Name() string

func (*MarkdownCmd) SetFlags

func (p *MarkdownCmd) SetFlags(f *flag.FlagSet)

func (*MarkdownCmd) Synopsis

func (*MarkdownCmd) Synopsis() string

func (*MarkdownCmd) Usage

func (*MarkdownCmd) Usage() string

type OutlineGoPackageCmd added in v0.1.5

type OutlineGoPackageCmd struct {
	// contains filtered or unexported fields
}

func (*OutlineGoPackageCmd) Execute added in v0.1.5

func (*OutlineGoPackageCmd) Name added in v0.1.5

func (*OutlineGoPackageCmd) Name() string

func (*OutlineGoPackageCmd) SetFlags added in v0.1.5

func (p *OutlineGoPackageCmd) SetFlags(f *flag.FlagSet)

func (*OutlineGoPackageCmd) Synopsis added in v0.1.5

func (*OutlineGoPackageCmd) Synopsis() string

func (*OutlineGoPackageCmd) Usage added in v0.1.5

func (*OutlineGoPackageCmd) Usage() string

type PyDocCmd added in v0.1.5

type PyDocCmd struct {
	// contains filtered or unexported fields
}

func (*PyDocCmd) Execute added in v0.1.5

func (c *PyDocCmd) Execute(
	ctx context.Context,
	f *flag.FlagSet,
	args ...any,
) subcommands.ExitStatus

func (*PyDocCmd) Name added in v0.1.5

func (c *PyDocCmd) Name() string

func (*PyDocCmd) SetFlags added in v0.1.5

func (c *PyDocCmd) SetFlags(f *flag.FlagSet)

func (*PyDocCmd) Synopsis added in v0.1.5

func (c *PyDocCmd) Synopsis() string

func (*PyDocCmd) Usage added in v0.1.5

func (c *PyDocCmd) Usage() string

type PyDocReadCmd added in v0.1.5

type PyDocReadCmd struct {
	// contains filtered or unexported fields
}

func (*PyDocReadCmd) Execute added in v0.1.5

func (p *PyDocReadCmd) Execute(
	_ context.Context,
	f *flag.FlagSet,
	_ ...any,
) subcommands.ExitStatus

func (*PyDocReadCmd) Name added in v0.1.5

func (c *PyDocReadCmd) Name() string

func (*PyDocReadCmd) SetFlags added in v0.1.5

func (c *PyDocReadCmd) SetFlags(f *flag.FlagSet)

func (*PyDocReadCmd) Synopsis added in v0.1.5

func (c *PyDocReadCmd) Synopsis() string

func (*PyDocReadCmd) Usage added in v0.1.5

func (c *PyDocReadCmd) Usage() string

type PyDocSearchCmd added in v0.1.5

type PyDocSearchCmd struct{}

func (*PyDocSearchCmd) Execute added in v0.1.5

func (c *PyDocSearchCmd) Execute(
	_ context.Context,
	f *flag.FlagSet,
	_ ...any,
) subcommands.ExitStatus

func (*PyDocSearchCmd) Name added in v0.1.5

func (c *PyDocSearchCmd) Name() string

func (*PyDocSearchCmd) SetFlags added in v0.1.5

func (c *PyDocSearchCmd) SetFlags(f *flag.FlagSet)

func (*PyDocSearchCmd) Synopsis added in v0.1.5

func (c *PyDocSearchCmd) Synopsis() string

func (*PyDocSearchCmd) Usage added in v0.1.5

func (c *PyDocSearchCmd) Usage() string

type RustDocCmd added in v0.1.5

type RustDocCmd struct {
	// contains filtered or unexported fields
}

func (*RustDocCmd) Execute added in v0.1.5

func (c *RustDocCmd) Execute(
	ctx context.Context,
	f *flag.FlagSet,
	args ...any,
) subcommands.ExitStatus

func (*RustDocCmd) Name added in v0.1.5

func (c *RustDocCmd) Name() string

func (*RustDocCmd) SetFlags added in v0.1.5

func (c *RustDocCmd) SetFlags(f *flag.FlagSet)

func (*RustDocCmd) Synopsis added in v0.1.5

func (c *RustDocCmd) Synopsis() string

func (*RustDocCmd) Usage added in v0.1.5

func (c *RustDocCmd) Usage() string

type RustDocReadCmd added in v0.1.5

type RustDocReadCmd struct {
	// contains filtered or unexported fields
}

func (*RustDocReadCmd) Execute added in v0.1.5

func (p *RustDocReadCmd) Execute(
	_ context.Context,
	f *flag.FlagSet,
	_ ...any,
) subcommands.ExitStatus

func (*RustDocReadCmd) Name added in v0.1.5

func (c *RustDocReadCmd) Name() string

func (*RustDocReadCmd) SetFlags added in v0.1.5

func (c *RustDocReadCmd) SetFlags(f *flag.FlagSet)

func (*RustDocReadCmd) Synopsis added in v0.1.5

func (c *RustDocReadCmd) Synopsis() string

func (*RustDocReadCmd) Usage added in v0.1.5

func (c *RustDocReadCmd) Usage() string

type RustDocSearchCmd added in v0.1.5

type RustDocSearchCmd struct{}

func (*RustDocSearchCmd) Execute added in v0.1.5

func (*RustDocSearchCmd) Name added in v0.1.5

func (c *RustDocSearchCmd) Name() string

func (*RustDocSearchCmd) SetFlags added in v0.1.5

func (c *RustDocSearchCmd) SetFlags(f *flag.FlagSet)

func (*RustDocSearchCmd) Synopsis added in v0.1.5

func (c *RustDocSearchCmd) Synopsis() string

func (*RustDocSearchCmd) Usage added in v0.1.5

func (c *RustDocSearchCmd) Usage() string

type SearchCodeCmd

type SearchCodeCmd struct {
	// contains filtered or unexported fields
}

func (*SearchCodeCmd) Execute

func (c *SearchCodeCmd) Execute(
	_ context.Context,
	f *flag.FlagSet,
	_ ...any,
) subcommands.ExitStatus

func (*SearchCodeCmd) Name

func (*SearchCodeCmd) Name() string

func (*SearchCodeCmd) SetFlags

func (c *SearchCodeCmd) SetFlags(f *flag.FlagSet)

func (*SearchCodeCmd) Synopsis

func (*SearchCodeCmd) Synopsis() string

func (*SearchCodeCmd) Usage

func (*SearchCodeCmd) Usage() string

type ServeCmd

type ServeCmd struct {
	// contains filtered or unexported fields
}

func (*ServeCmd) Execute

func (p *ServeCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...any) subcommands.ExitStatus

func (*ServeCmd) Name

func (*ServeCmd) Name() string

func (*ServeCmd) SetFlags

func (p *ServeCmd) SetFlags(f *flag.FlagSet)

func (*ServeCmd) Synopsis

func (*ServeCmd) Synopsis() string

func (*ServeCmd) Usage

func (*ServeCmd) Usage() string

type TreeCmd

type TreeCmd struct {
	// contains filtered or unexported fields
}

func (*TreeCmd) Execute

func (p *TreeCmd) Execute(ctx context.Context, f *flag.FlagSet, _ ...any) subcommands.ExitStatus

func (*TreeCmd) Name

func (*TreeCmd) Name() string

func (*TreeCmd) SetFlags

func (p *TreeCmd) SetFlags(f *flag.FlagSet)

func (*TreeCmd) Synopsis

func (*TreeCmd) Synopsis() string

func (*TreeCmd) Usage

func (*TreeCmd) Usage() string

type TreeRepoCmd

type TreeRepoCmd struct {
	// contains filtered or unexported fields
}

func (*TreeRepoCmd) Execute

func (c *TreeRepoCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...any) subcommands.ExitStatus

func (*TreeRepoCmd) Name

func (*TreeRepoCmd) Name() string

func (*TreeRepoCmd) SetFlags

func (c *TreeRepoCmd) SetFlags(f *flag.FlagSet)

func (*TreeRepoCmd) Synopsis

func (*TreeRepoCmd) Synopsis() string

func (*TreeRepoCmd) Usage

func (*TreeRepoCmd) Usage() string

type ValidateCmd

type ValidateCmd struct {
	// contains filtered or unexported fields
}

func (*ValidateCmd) Execute

func (p *ValidateCmd) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*ValidateCmd) Name

func (*ValidateCmd) Name() string

func (*ValidateCmd) SetFlags

func (p *ValidateCmd) SetFlags(f *flag.FlagSet)

func (*ValidateCmd) Synopsis

func (*ValidateCmd) Synopsis() string

func (*ValidateCmd) Usage

func (*ValidateCmd) Usage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL