Class: Cnvrg::Data
Instance Method Summary
collapse
banner, subcommand_prefix
Instance Method Details
#clone(dataset_url) ⇒ Object
51
52
53
54
55
|
# File 'lib/cnvrg/data.rb', line 51
def clone(dataset_url)
cli = Cnvrg::CLI.new()
cli.clone_data(dataset_url)
end
|
#commits ⇒ Object
65
66
67
68
69
|
# File 'lib/cnvrg/data.rb', line 65
def commits()
cli = Cnvrg::CLI.new()
cli.list_dataset_commits()
end
|
#download ⇒ Object
42
43
44
45
46
47
48
49
|
# File 'lib/cnvrg/data.rb', line 42
def download()
cli = Cnvrg::CLI.new()
verbose = options["verbose"]
sync = options["sync"]
cli.download_data(verbose,sync,Dir.pwd)
end
|
#init ⇒ Object
19
20
21
22
23
|
# File 'lib/cnvrg/data.rb', line 19
def init
cli = Cnvrg::CLI.new()
public = options["public"]
cli.init_data(public)
end
|
#list ⇒ Object
57
58
59
60
61
62
|
# File 'lib/cnvrg/data.rb', line 57
def list()
cli = Cnvrg::CLI.new()
cli.list_dataset()
end
|
#upload ⇒ Object
30
31
32
33
34
35
36
37
|
# File 'lib/cnvrg/data.rb', line 30
def upload
cli = Cnvrg::CLI.new()
ignore = options["ignore"]
verbose = options["verbose"]
sync = options["sync"]
no_compression = options["no_compression"]
cli.upload_data_tar(ignore, verbose,sync,no_compression)
end
|