Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: AGPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

func IsBrowserLaunched added in v0.52.0

func IsBrowserLaunched(argv []string) bool

IsBrowserLaunched reports whether argv is Chrome's native-messaging launch of this binary. Chrome executes the manifest's path with the calling extension's origin as the first argument — "chrome-extension://<id>/" — optionally followed by flags such as --parent-window; it never spells the `native-host` subcommand, which is only the human's way to run the host. A foreign first argument still falls through to cobra's dispatch.

Types

This section is empty.

Jump to

Keyboard shortcuts

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