commands

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 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