cmd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(prog string, args []string) string

A regular exec.Command but stdout and stderr merged and returned as strings.

func CmdEditor added in v0.1.2

func CmdEditor(path string)

open a file or directory with $EDITOR (defaults to vim if no $EDITOR found)

func CmdFzf added in v0.1.2

func CmdFzf(pipeInput []string) (string, error)

Run fzf by piping arguments.

func DotfExecute

func DotfExecute(gitArgs []string)

Execute a regular dotf command (non-concurrent)

func DotfExecuteRoutine

func DotfExecuteRoutine(gitArgs []string) string

Execute dotf command, but write output to buffer and return (for handling via channels). Can only be used where plain output suffices.

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