...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "command",
5 srcs = ["command.go"],
6 importpath = "edge-infra.dev/pkg/lib/cli/command",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/lib/cli/rags",
10 "@com_github_peterbourgon_ff_v3//:ff",
11 "@com_github_peterbourgon_ff_v3//ffcli",
12 ],
13)
14
15go_test(
16 name = "command_test",
17 srcs = ["command_test.go"],
18 embed = [":command"],
19 deps = [
20 "//pkg/lib/cli/rags",
21 "@com_github_stretchr_testify//assert",
22 ],
23)
View as plain text