cmd

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(ctx context.Context, exePath string, cmdObj *s2hv1.CommandAndArgs) ([]byte, error)

ExecuteCommand executes command at defined executed path

func RenderTemplate

func RenderTemplate(commands, args []string, obj interface{}) *s2hv1.CommandAndArgs

Types

This section is empty.

Jump to

Keyboard shortcuts

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