executil

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(cmd string, args []string) (string, error)

Exec executes commands

func Execute

func Execute(message string, debug bool) (string, error)

Execute parses out command and executes it

func ExecuteShell added in v0.2.12

func ExecuteShell(script string, debug bool) (string, error)

ExecuteShell executes bash -c

func GetCommandAndArgs

func GetCommandAndArgs(textAfterMention string) (string, []string)

GetCommandAndArgs returns command and its arguments

Types

This section is empty.

Jump to

Keyboard shortcuts

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