From 30ea427b7b8a68e66f3bbda7c1c926e1dc0b7a1f Mon Sep 17 00:00:00 2001
From: Matt Bell <mappum@gmail.com>
Date: Wed, 8 Oct 2014 14:28:39 -0700
Subject: [PATCH] commands: Created Option struct

---
 commands/option.go | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 commands/option.go

diff --git a/commands/option.go b/commands/option.go
new file mode 100644
index 000000000..ca26208b8
--- /dev/null
+++ b/commands/option.go
@@ -0,0 +1,20 @@
+package commands
+
+import "reflect"
+
+const (
+  Invalid = reflect.Invalid
+  Bool = reflect.Bool
+  Int = reflect.Int
+  Uint = reflect.Uint
+  Float = reflect.Float32
+  String = reflect.String
+)
+
+// Option is used to specify a field that will be provided by a consumer
+type Option struct {
+  Names []string      // a list of unique names to
+  Type reflect.Kind           // value must be this type
+  //Default interface{} // the default value (ignored if `Required` is true)
+  //Required bool       // whether or not the option must be provided
+}
-- 
GitLab