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

commands

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteShell

func ExecuteShell() *cobra.Command

ExecuteShell returns a cobra command to execute a line through the system shell. This uses the os/exec package to execute the command. The default command name is `!`.

func Exit

func Exit() *cobra.Command

Exit returns a command to exit the console application. The command will prompt the user to confirm quitting.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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