load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "cmd", srcs = [ "create.go", "dlog.go", "edit.go", ], importpath = "edge-infra.dev/pkg/tools/dlog/cmd", visibility = ["//visibility:public"], deps = [ "//pkg/lib/cli/rags", "//pkg/lib/cli/sink", "//pkg/tools/dlog", "@io_k8s_sigs_yaml//:yaml", ], ) go_test( name = "cmd_test", srcs = ["create_test.go"], data = glob(["testdata/**"]), embed = [":cmd"], deps = [ "//pkg/lib/build/bazel", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", ], )