16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/roku_builder/plugins/linker.rb', line 16
def self.parse_options(parser:, options:)
parser.separator "Commands:"
parser.on("-o", "--deeplink OPTIONS", "Deeplink into app. Define options as keypairs. (eg. a:b, c:d,e:f)") do |o|
options[:deeplink] = o
end
parser.on("-A", "--app-list", "List currently installed apps") do
options[:applist] = true
end
parser.separator "Options:"
parser.on("-a", "--app ID", "Send App id for deeplinking") do |a|
options[:app_id] = a
end
end
|