summaryrefslogtreecommitdiff
path: root/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'flags.go')
-rw-r--r--flags.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/flags.go b/flags.go
new file mode 100644
index 0000000..d827f7e
--- /dev/null
+++ b/flags.go
@@ -0,0 +1,23 @@
+package config
+
+func Get(flag string) string {
+ if configPB == nil {
+ return ""
+ }
+ found := configPB.FindByKey(flag)
+ if found == nil {
+ return ""
+ }
+ return found.Value
+}
+
+func GetError(flag string) error {
+ return nil
+}
+
+func Set(flag string) {
+}
+
+func SetError(flag string) error {
+ return nil
+}