Sha256: 40daea6b53273509dada25b5c305479fd24e0b9dea1d99bfa7841ae02156df44
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
module AgileUtils module Options BASE_DIR = [ :base_dir, {type: :string, aliases: "-b", desc: "Base directory", default: Dir.pwd} ] EXTS = [ :exts, {type: :array, aliases: "-e", desc: "List of extensions to search for", default: []} ] NON_EXTS = [ :non_exts, {type: :array, aliases: "-f", desc: "List of files without extension to search for", default: []} ] INC_WORDS = [ :inc_words, {type: :array, aliases: "-n", desc: "List of words to be included in the result if any", default: []} ] EXC_WORDS = [ :exc_words, {type: :array, aliases: "-x", desc: "List of words to be excluded from the result if any", default: []} ] IGNORE_CASE = [ :ignore_case, {type: :boolean, aliases: "-i", desc: "Match case insensitively", default: true} ] RECURSIVE = [ :recursive, {type: :boolean, aliases: "-r", desc: "Search for files recursively", default: true} ] VERSION = [ :version, {type: :boolean, aliases: "-v", desc: "Display version information", default: false} ] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
agile_utils-0.1.2 | lib/agile_utils/base_option.rb |