Commit 277ba261 authored by Matt Bell's avatar Matt Bell

commands: Gave global options exported names

parent 49dc13e5
......@@ -141,9 +141,12 @@ const (
)
// options that are used by this package
var OptionEncodingType = StringOption(EncShort, EncLong, "The encoding type the output should be encoded with (json, xml, or text)")
var OptionRecursivePath = BoolOption(RecShort, RecLong, "Add directory paths recursively")
// global options, added to every command
var globalOptions = []Option{
StringOption(EncShort, EncLong, "The encoding type the output should be encoded with (json, xml, or text)"),
BoolOption(RecShort, RecLong, "Add directory paths recursively"),
OptionEncodingType,
}
// the above array of Options, wrapped in a Command
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment