Better logging + runVM impl

This commit is contained in:
AlexSSD7 2023-08-25 16:54:58 +01:00
commit a63030fd00
7 changed files with 192 additions and 74 deletions

View file

@ -3,6 +3,8 @@ package cmd
import (
"os"
"log/slog"
"github.com/spf13/cobra"
)
@ -21,5 +23,8 @@ func Execute() {
}
func init() {
slog.SetDefault(slog.New(slog.NewTextHandler(os.Stderr, nil)))
rootCmd.AddCommand(lsCmd)
rootCmd.AddCommand(runCmd)
}