Documentation
¶
Overview ¶
Package utils provides utility functions for Berth.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
RunCommand executes a shell command and returns its stdout and stderr. The `name` parameter is the command to run (e.g., "docker", "podman"). The `args` parameter is a variadic slice of strings representing the arguments to the command. It returns the standard output, standard error, and an error if the command fails to execute.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.