Added fileargs helper package
This helps with working with commandline software that mostly takes its
configuration from files.
It exposes a data-friendly interface and hides
all the messy file operations.
Test Plan: Has been tested with Kubernetes
X-Origin-Diff: phab/D270
GitOrigin-RevId: 432f61830679225be54de577c0c2282b0ac8c306
diff --git a/core/pkg/fileargs/BUILD.bazel b/core/pkg/fileargs/BUILD.bazel
new file mode 100644
index 0000000..8107579
--- /dev/null
+++ b/core/pkg/fileargs/BUILD.bazel
@@ -0,0 +1,9 @@
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+
+go_library(
+ name = "go_default_library",
+ srcs = ["fileargs.go"],
+ importpath = "git.monogon.dev/source/nexantic.git/core/pkg/fileargs",
+ visibility = ["//visibility:public"],
+ deps = ["@org_golang_x_sys//unix:go_default_library"],
+)