Class: Cnvrg::Data
Instance Method Summary
collapse
banner, subcommand_prefix
Instance Method Details
#clone(dataset_url) ⇒ Object
47
48
49
50
51
|
# File 'lib/cnvrg/data.rb', line 47
def clone(dataset_url)
cli = Cnvrg::CLI.new()
cli.clone_data(dataset_url)
end
|
#commits ⇒ Object
63
64
65
66
67
|
# File 'lib/cnvrg/data.rb', line 63
def commits()
cli = Cnvrg::CLI.new()
cli.list_dataset_commits()
end
|
#download ⇒ Object
38
39
40
41
42
43
44
45
|
# File 'lib/cnvrg/data.rb', line 38
def download()
cli = Cnvrg::CLI.new()
verbose = options["verbose"]
sync = options["sync"]
cli.download_data(verbose,sync,Dir.pwd)
end
|
#init ⇒ Object
17
18
19
20
21
|
# File 'lib/cnvrg/data.rb', line 17
def init
cli = Cnvrg::CLI.new()
public = options["public"]
cli.init_data(public)
end
|
#list ⇒ Object
53
54
55
56
57
58
59
60
|
# File 'lib/cnvrg/data.rb', line 53
def list()
cli = Cnvrg::CLI.new()
verbose = options["verbose"]
sync = options["sync"]
cli.list_dataset()
end
|
#upload ⇒ Object
26
27
28
29
30
31
32
33
|
# File 'lib/cnvrg/data.rb', line 26
def upload
cli = Cnvrg::CLI.new()
ignore = options["ignore"]
verbose = options["verbose"]
sync = options["sync"]
cli.upload_data_tar(ignore, verbose,sync)
end
|