Sha256: 535028268ee91c220cbc1bd0dfb53613e242edd7def085d2aefc46f159cde81e
Contents?: true
Size: 553 Bytes
Versions: 22
Compression:
Stored size: 553 Bytes
Contents
command 'change' do |c| c.syntax = 'brief change ATTRIBUTE [OPTIONS]' c.description = 'change attributes of brief documents' c.option '--from', String, 'Only apply when the attributes current value matches.' c.option '--to', String, 'Only apply when the attributes current value matches.' c.option '--files', String, 'The files you want to change' c.option '--on', String, 'alias for --files. The files you want to change' c.action do |args, options| puts "Args: #{ args.inspect }" puts "Options: #{ options.inspect }" end end
Version data entries
22 entries across 22 versions & 1 rubygems