feat: "exec" command to start processes inside remote containers (#139)

This commit is contained in:
Anton Ovchinnikov authored and GitHub committed 2025-11-05 23:47:24 +01:00
1 parent 1c3f210848
commit abea3e229e
19 files changed
+1773 -133

No files matched your search

+4
View File
@@ -16,6 +16,7 @@ import (
"github.com/psviderski/uncloud/internal/cli"
"github.com/psviderski/uncloud/internal/cli/config"
"github.com/psviderski/uncloud/internal/fs"
"github.com/psviderski/uncloud/internal/log"
"github.com/psviderski/uncloud/internal/version"
"github.com/spf13/cobra"
)
@@ -26,6 +27,8 @@ type globalOptions struct {
}
func main() {
log.InitLoggerFromEnv()
opts := globalOptions{}
cmd := &cobra.Command{
Use: "uc",
@@ -87,6 +90,7 @@ func main() {
image.NewRootCommand(),
machine.NewRootCommand(),
service.NewRootCommand(),
service.NewExecCommand(),
service.NewInspectCommand(),
service.NewListCommand(),
service.NewRmCommand(),