Class: ExtendScript::Client

Inherits:
Thor
  • Object
show all
Defined in:
lib/extend_script/client.rb

Instance Method Summary collapse

Instance Method Details

#mergeObject



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/extend_script/client.rb', line 21

def merge
  infile        = options['input']
  outfile       = options['output']
  embed_ver     = options['embed-version']
  detach_target = options['detach-target']
  attach_target = options['attach-target']
  
  opts = {
    embed_ver: embed_ver,
    detach_target: detach_target,
    attach_target: attach_target
  }
  raise unless File.exist?(infile)
  
  export(infile, outfile, opts)
end

#versionObject



10
11
12
# File 'lib/extend_script/client.rb', line 10

def version
  puts "ExtenedScript Util. #{ExtendScript::VERSION}"
end