execute

package
v0.0.0-...-9242a3e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(dir, command string, tree *git.Worktree, loop bool) error

Command takes a directory path, a command to execute and a git worktree. If a loop is specified, it'll execute the command argument on every directory. Otherwise it'll just execute once on the root of the repository. It outputs an error if found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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