func Test_DebugOnly(t *testing.T) {
	t.SkipNow()
	ctx := context.Background()
	err := cmdx.ExecBackgroundCtx(
		ctx,
		NewRootCmd(),
		os.Stdin,
		os.Stdout,
		os.Stderr,
		"serve",
		"-c",
		"../contrib/cat-videos-example/keto.yml",
	).Wait()
	t.Logf("got error %s", err)
}
This test is intended for debug purposes. Just comment out t.SkipNow() and run it through your IDE debugger with -tags sqlite
package cmd
import (
	"bytes"
	"context"
	"fmt"
	"io"
	"os"
	"path/filepath"
	"testing"
	"time"
	"github.com/ory/x/cmdx"
	"github.com/ory/x/configx"
	"github.com/sirupsen/logrus"
	"github.com/sirupsen/logrus/hooks/test"
	"github.com/spf13/pflag"
	"github.com/stretchr/testify/require"
	"github.com/ory/keto/cmd/client"
	"github.com/ory/keto/internal/driver"
)