Method: Cnvrg::Data#clone

Defined in:
lib/cnvrg/data.rb

#clone(dataset_url) ⇒ Object



158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# File 'lib/cnvrg/data.rb', line 158

def clone(dataset_url)
  cli = Cnvrg::CLI.new()
  only_tree =options[:only_tree]
  commit =options[:commit]
  query =options[:query]
  read = options[:read]
  remote = options[:remote]
  soft = options[:soft]
  flatten = options[:flatten]
  threads = options[:threads]
  cli.clone_data(
      dataset_url,
      only_tree=only_tree,
      commit=commit,
      query=query,
      read=read,
      remote=remote,
      flatten: flatten,
      relative: options[:relative],
      soft: soft,
      threads: threads
  )
end