cartodb-tools 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cartodb-tools/cli.rb +2 -0
- data/lib/cartodb-tools/version.rb +1 -1
- metadata +1 -1
data/lib/cartodb-tools/cli.rb
CHANGED
@@ -18,6 +18,8 @@ module CartodbTools
|
|
18
18
|
def ls
|
19
19
|
CartoDB::Init.start CartodbTools::Config.config
|
20
20
|
|
21
|
+
lines = []
|
22
|
+
|
21
23
|
CartoDB::Connection.tables[:tables].each do |table|
|
22
24
|
lines = table[:name]
|
23
25
|
lines = lines.concat(table[:schema].map {|item| " #{item[0]} #{item[1]}" }) if options[:all]
|