m/c/p/context: add CLI context package

This adds a package for getting contexts useful in a CLI application.
The context inherits from a parent (usually contxt.Background in CLIs)
and is cancelled when the user cancels the application by interrupting it
(most commonly by pressing Ctrl+C, but sending a SIGINT will also do).

Change-Id: Ibfeee17f3f6284745d3fbf3395d4b3ca9805258f
Reviewed-on: https://review.monogon.dev/c/monogon/+/486
Reviewed-by: Sergiusz Bazanski <serge@monogon.tech>
diff --git a/metropolis/cli/pkg/context/BUILD.bazel b/metropolis/cli/pkg/context/BUILD.bazel
new file mode 100644
index 0000000..b03a35d
--- /dev/null
+++ b/metropolis/cli/pkg/context/BUILD.bazel
@@ -0,0 +1,8 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+    name = "go_default_library",
+    srcs = ["context.go"],
+    importpath = "source.monogon.dev/metropolis/cli/pkg/context",
+    visibility = ["//visibility:public"],
+)