cmd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MacroDir           = "macro"
	ConfigDir          = ".wsget"
	HistoryFilename    = ConfigDir + "/history"
	HistoryCmdFilename = ConfigDir + "/cmd_history"
	ConfigDirMode      = 0o755
)

Variables

This section is empty.

Functions

func InitCommands

func InitCommands(version string) *cobra.Command

InitCommands initializes and returns a new cobra.Command for the wsget tool. It takes a version string which sets the version of the command. It returns a pointer to a cobra.Command configured with various flags for interacting with WebSocket servers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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