Sha256: 887481ebaa2cb6498c02e72207225a086c9687bf629183d9ac1270739c7fe0c3
Contents?: true
Size: 1.46 KB
Versions: 7
Compression:
Stored size: 1.46 KB
Contents
ASSETS.cli.config do |cnf| cnf.options_set do |options_set, options| options_set.add(["-dry-run", "-simulate"]) do |options| options[:dry_run] = true options[:simulate] = true end options[:end_get] = true options_set.add("-no-get") do |options| options[:end_get] = false end options_set.add("-search-strict") do |options| options.deep_merge!(search: {strict: true}) end options_set.add("-search-soft") do |options| options.deep_merge!(search: {strict: false}) end options_set.add(["-no-invites", "-exclude-invites"]) do |options| options.merge!(send_invites: false) end options_set.add("-send-invites") do |options| options.merge!(send_invites: true) end options_set.add("-exclude-core") do |options| options.deep_merge!(exclude: {core: true}) end options_set.add("-exclude-supervisor") do |options| options.deep_merge!(exclude: {supervisor: true}) end options_set.add("-exclude-email") do |options| options.deep_merge!(exclude: {email: true}) end options_set.add("-exclude-details") do |options| options.deep_merge!(exclude: {details: true}) end options_set.add("-exclude-account") do |options| options.deep_merge!(exclude: {account: true}) end options_set.add("-exclude-abilities") do |options| options.deep_merge!(exclude: {abilities: true}) end end end
Version data entries
7 entries across 7 versions & 1 rubygems