9abaefeb00
Result[T] y Option[T] de core no son accesibles desde otros paquetes sin import. Cambiado a (T, error) y (T, bool) siguiendo la regla de tipos nativos en firmas. Añadidas dependencias bubbletea/bubbles/lipgloss al go.mod raíz para que tui compile. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
360 B
Go
15 lines
360 B
Go
package shell
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
// Implementation: github.com/lucasdataproyects/devfactory/shell
|
|
|
|
// RunShellTimeout ejecuta un comando shell con timeout configurable.
|
|
func RunShellTimeout(command string, timeout time.Duration) (CmdResult, error) {
|
|
// stub — implementation in devfactory/shell
|
|
return CmdResult{}, fmt.Errorf("not implemented")
|
|
}
|