zillabyte-cli 0.9.29 → 0.9.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/zillabyte/cli/data.rb +7 -3
- data/lib/zillabyte-cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OWVhMDEyNGMyMGJhZmNlYzc0OGVmMTI3NTU4MWNiM2QzZTdlMTczYQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZDdjNGE1YzI3MWI5ZDFhNTVkOWJkNDM4ZGRiZDFmOTYzZDdjNTViYg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MDUzY2I3NTAzYmNmZDM2NGI5NzdjZTNlZDE1NmViZWQ1NzViYTBmODQxZTA2
|
|
10
|
+
Yjg5NDM3MDYzYzFiOGVmNzBjM2NiMzE3MWMyOTkzYjY1MGE5ZTZiYzQzNDhh
|
|
11
|
+
ZDM2N2VmZDQyNmQzMWJiMWIwMjY5ZWY1NjFmODQyODFiODk3N2M=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NGViY2I0YzU5OGUzNWExMzhkYTg5MGQ4NTI4NmEzZjQ5YzY5ZTE0ZjVkYjMy
|
|
14
|
+
M2IxMjI0MTRmNDM4ZDE3MDYzMzFlNThmZWEzN2M1OGQwZmVmZmJkMjRjZDIz
|
|
15
|
+
MGFhMWU3ZGFkNTM1MzRjOWM0YTg0M2M1Y2NhZTVmMTRiYWQ1MjY=
|
data/lib/zillabyte/cli/data.rb
CHANGED
|
@@ -484,9 +484,13 @@ class Zillabyte::Command::Data < Zillabyte::Command::Base
|
|
|
484
484
|
end
|
|
485
485
|
require("colorize")
|
|
486
486
|
require("zillabyte/cli/helpers/table_output_builder")
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
487
|
+
if type.nil?
|
|
488
|
+
display "Sampled output:"
|
|
489
|
+
display TableOutputBuilder.build_terminal_table(headings, rows)
|
|
490
|
+
display "To download your full dataset, type "+"`zillabyte data:pull [RELATION_NAME] [OUTPUT_PREFIX] [DIRECTORY]`".colorize(:green)+"."
|
|
491
|
+
else
|
|
492
|
+
display TableOutputBuilder.build_table(headings, rows, type)
|
|
493
|
+
end
|
|
490
494
|
else
|
|
491
495
|
if type == "json"
|
|
492
496
|
display "{}"
|