feat: add agent exec pkg (#15577)

This commit is contained in:
Jon Ayers
2024-11-25 17:22:12 +02:00
committed by GitHub
parent 7876dc5fb1
commit bbc549d2df
7 changed files with 603 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
//go:build linux
// +build linux
package main
import (
"fmt"
"os"
"github.com/coder/coder/v2/agent/agentexec"
)
func main() {
err := agentexec.CLI()
if err != nil {
_, _ = fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}