cmd

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(command string, sink chan Payload)

Run executes a input command in shell

Types

type Payload

type Payload struct {
	Pipe string `json:"pipe" binding:"required"`
	Text string `json:"text" binding:"required"`
}

Payload is output for a command

Jump to

Keyboard shortcuts

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