zillabyte-cli 0.9.28 → 0.9.29

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- M2ViOGNlNTNkZWJkNDMwOTQ2MWMwZDE4ZjU5MWExODg4YTE1ZDQwNA==
4
+ YjAzZDFjMDViNmQzMzc4Y2Y4OGU0MDhlNjI0M2M1NDI4NDYxZjU0Ng==
5
5
  data.tar.gz: !binary |-
6
- ODhmMzM4MTFkMjNiMzJiNDI4NWUwOWNjZGExNTdlMzVkODc2OWMyNg==
6
+ MzNmNDY5YTY0MTk3YzI3NDJmMWZiNjQzNDE0ODkyZDA4N2ViNzI0Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjYzNGFjOWE0ZWQ2YWNmZDU3MTkyOWY0OGQyMzk4YWU4OGVmOWMwYTJhOTQx
10
- NmM4ZTcyZWYxOGUxMmE1N2E1NDhmZmJhMTlmNDYxZDNhZDMxYjA1NzA1ZGI4
11
- MTc1N2IxZDY0ZGQyNjI0MDQ0ZWU5MmQ4MTFmZGRlNGNiYjQ0ZGQ=
9
+ NTIyZTEzMjAxMWYwZDUwZTk3OWViNWQ4ZWJmNWU1MTM4MjYwZTVhM2JlOWIy
10
+ ZGQ3ZTE2YTQ3NmU2ZDBmYzBkMjRkODM4YmY3NTM4YTY5NTE3OWJiZGIyMjAy
11
+ NjdkNWJmMzU3NmEyMWM3MWRhNGU0YzMwM2UyMTk4ZmJkOGRkN2Q=
12
12
  data.tar.gz: !binary |-
13
- ZmY2NjhkMTYyMzhiMDYwMzkxNjM5ZDE2NGY3ODJlYWU3NzJjY2U4MTFlNTNi
14
- ODM3YjhiZjQwMjhjMWRlZDc1ZjBkOWFjMmY3NmYzMmIxYmIxZDA5NGNiNmFm
15
- MzBiMGM2MWUzYWEwMjEyMTU3NmIzZjc1YWNjY2I2ZGRiYmM0ZWI=
13
+ ZmJiZTc5MDdiMGY1MDRiNDg4OGE4MWQzNjZhZDEwYjZiZmM3MzQ3NzhiMDZk
14
+ OTQ1OTk1NWUwYjhmNjEwZTllNzM4ODIzMWRjYTJmZjkzNTI4OTNiYjM4YTVk
15
+ ZTk0MmRmZWUzMjU3M2ZhYWE3ODU2MGY5OWQ5YzBkNGI3ODBiNzg=
@@ -482,8 +482,11 @@ class Zillabyte::Command::Data < Zillabyte::Command::Base
482
482
  end
483
483
  rows << new_row
484
484
  end
485
+ require("colorize")
485
486
  require("zillabyte/cli/helpers/table_output_builder")
487
+ display "Sampled output:"
486
488
  display TableOutputBuilder.build_table(headings, rows, type)
489
+ display "To download your full dataset, type "+"`zillabyte data:pull [RELATION_NAME] [OUTPUT_PREFIX] [DIRECTORY]`".colorize(:green)+"."
487
490
  else
488
491
  if type == "json"
489
492
  display "{}"
@@ -4,8 +4,8 @@ require("zillabyte/cli/base")
4
4
  #
5
5
  class Zillabyte::Command::Download < Zillabyte::Command::Base
6
6
 
7
- MIN_LOCAL_JAR_VERSION = "0.0.2"
8
- LATEST_JAR_VERSION = "0.0.2"
7
+ MIN_LOCAL_JAR_VERSION = "0.0.3"
8
+ LATEST_JAR_VERSION = "0.0.3"
9
9
  MIN_JAVA_VERSION = "1.7.0"
10
10
 
11
11
  # --local # HIDDEN
@@ -133,7 +133,21 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
133
133
  if type == "json"
134
134
  display "{}"
135
135
  else
136
- display "Flow deployed: #{get_flow_ui_link(res).colorize(:light_yellow)}"
136
+ display "*"*79
137
+ if flow_type == "app"
138
+ display "App deployed: #{get_flow_ui_link(res).colorize(:light_yellow)}"
139
+ display "`zillabyte details`".colorize(:green)+" : to check the progress of your app."
140
+ display "`zillabyte logs`".colorize(:green)+" : to look at log output."
141
+ display "`zillabyte kill`".colorize(:green)+" : to stop your app on our servers."
142
+ display "To inspect/download data produced by your app:"
143
+ display "`zillabyte data:show [RELATION_NAME]`".colorize(:cyan)+" : to inspect your data."
144
+ display "`zillabyte data:pull [RELATION_NAME] [OUTPUT_PREFIX] [DIRECTORY]`".colorize(:cyan)+" : to download your data."
145
+ elsif flow_type == "component"
146
+ display "Component registered: #{get_flow_ui_link(res).colorize(:light_yellow)}"
147
+ display "Your component may now be embedded in any application!"
148
+ display "`zillabyte execute`".colorize(:green)+" : to run your component as an RPC."
149
+ end
150
+ display "*"*79
137
151
  end
138
152
 
139
153
  end
@@ -474,11 +488,13 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
474
488
 
475
489
  # output on the CLI
476
490
  if type.nil?
491
+ require('colorize')
477
492
  require("zillabyte/cli/helpers/table_output_builder")
478
493
  display TableOutputBuilder.build_terminal_table(headings, rows)
479
494
  if from_dataset == true
480
495
  display "percent complete: #{completion}%\n"
481
496
  end
497
+ display "To view error details, type "+"`zillabyte errors`".colorize(:green)+"."
482
498
  else
483
499
  display res.body.to_json
484
500
  end
@@ -1,5 +1,5 @@
1
1
  module Zillabyte
2
2
  module CLI
3
- VERSION = "0.9.28"
3
+ VERSION = "0.9.29"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zillabyte-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.28
4
+ version: 0.9.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - zillabyte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-13 00:00:00.000000000 Z
11
+ date: 2014-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -204,7 +204,6 @@ files:
204
204
  - lib/zillabyte/cli/templates/components/ruby/Gemfile
205
205
  - lib/zillabyte/cli/templates/components/ruby/component.rb.erb
206
206
  - lib/zillabyte/cli/templates/components/ruby/zillabyte.conf.yaml
207
- - lib/zillabyte/cli/templates/ruby/Gemfile.lock
208
207
  - lib/zillabyte/cli/untitled.md
209
208
  - lib/zillabyte/cli/version.rb
210
209
  - lib/zillabyte/cli/zillalogs.rb
@@ -1,81 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- actionpack (3.2.17)
5
- activemodel (= 3.2.17)
6
- activesupport (= 3.2.17)
7
- builder (~> 3.0.0)
8
- erubis (~> 2.7.0)
9
- journey (~> 1.0.4)
10
- rack (~> 1.4.5)
11
- rack-cache (~> 1.2)
12
- rack-test (~> 0.6.1)
13
- sprockets (~> 2.2.1)
14
- activemodel (3.2.17)
15
- activesupport (= 3.2.17)
16
- builder (~> 3.0.0)
17
- activesupport (3.2.17)
18
- i18n (~> 0.6, >= 0.6.4)
19
- multi_json (~> 1.0)
20
- ascii_charts (0.9.1)
21
- aws-sdk (1.33.0)
22
- json (~> 1.4)
23
- nokogiri (>= 1.4.4)
24
- uuidtools (~> 2.1)
25
- builder (3.0.4)
26
- chronic (0.10.2)
27
- colorize (0.7.2)
28
- erubis (2.7.0)
29
- excon (0.33.0)
30
- hike (1.2.3)
31
- i18n (0.6.9)
32
- indentation (0.1.1)
33
- journey (1.0.4)
34
- json (1.8.1)
35
- mime-types (2.2)
36
- mini_portile (0.5.3)
37
- multi_json (1.9.2)
38
- netrc (0.7.7)
39
- nokogiri (1.6.1)
40
- mini_portile (~> 0.5.0)
41
- rack (1.4.5)
42
- rack-cache (1.2)
43
- rack (>= 0.4)
44
- rack-test (0.6.2)
45
- rack (>= 1.0)
46
- rest-client (1.6.7)
47
- mime-types (>= 1.16)
48
- sprockets (2.2.2)
49
- hike (~> 1.2)
50
- multi_json (~> 1.0)
51
- rack (~> 1.0)
52
- tilt (~> 1.1, != 1.3.0)
53
- terminal-table (1.4.5)
54
- tilt (1.4.1)
55
- time_difference (0.3.2)
56
- activesupport
57
- uuidtools (2.1.4)
58
- zillabyte (0.0.20)
59
- zillabyte-cli (~> 0.0.20)
60
- zillabyte-cli (0.0.20)
61
- actionpack (~> 3.2.13)
62
- activesupport (~> 3.2.11)
63
- ascii_charts (~> 0.9.1)
64
- aws-sdk (~> 1.33.0)
65
- bundler (~> 1.3)
66
- chronic (~> 0.10)
67
- colorize (~> 0.6)
68
- excon (~> 0.31)
69
- indentation (~> 0.1)
70
- mini_portile (~> 0.5.0)
71
- multi_json (~> 1.0)
72
- netrc (~> 0.7.7)
73
- rest-client (~> 1.6.1)
74
- terminal-table (~> 1.4)
75
- time_difference
76
-
77
- PLATFORMS
78
- ruby
79
-
80
- DEPENDENCIES
81
- zillabyte