def build_args(key, filename)
if key == 'content-view'
csv = ['--csv-file', "#{option_directory}/CHANNELS/export.csv"]
else
csv = ['--csv-file', filename]
end
return csv << '--delete' if option_delete?
case key
when 'config-file'
args = config_file_args(csv)
when 'content-host'
args = content_host_args(csv)
when 'content-view'
args = content_view_args(csv)
when 'organization'
args = organization_args(csv)
when 'repository', 'repository-enable'
args = repository_args(csv)
when 'user'
args = user_args(csv)
else
args = csv
end
return args
end