gloo 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/gloo.gemspec +5 -2
  6. data/lib/VERSION +1 -1
  7. data/lib/gloo/verbs/help.rb +82 -0
  8. data/lib/gloo/verbs/version.rb +37 -0
  9. metadata +10 -82
  10. data/Gemfile.lock +0 -175
  11. data/lib/gloo/help/app/application.txt +0 -22
  12. data/lib/gloo/help/app/configuration.txt +0 -7
  13. data/lib/gloo/help/app/default_help.txt +0 -14
  14. data/lib/gloo/help/app/logging.txt +0 -16
  15. data/lib/gloo/help/core/color.txt +0 -31
  16. data/lib/gloo/help/core/error.txt +0 -33
  17. data/lib/gloo/help/core/events.txt +0 -21
  18. data/lib/gloo/help/core/gloo_system.txt +0 -57
  19. data/lib/gloo/help/core/here.txt +0 -30
  20. data/lib/gloo/help/core/it.txt +0 -23
  21. data/lib/gloo/help/core/ops.txt +0 -16
  22. data/lib/gloo/help/core/pathname.txt +0 -29
  23. data/lib/gloo/help/objs/basic/alias.txt +0 -36
  24. data/lib/gloo/help/objs/basic/boolean.txt +0 -28
  25. data/lib/gloo/help/objs/basic/container.txt +0 -33
  26. data/lib/gloo/help/objs/basic/decimal.txt +0 -28
  27. data/lib/gloo/help/objs/basic/integer.txt +0 -27
  28. data/lib/gloo/help/objs/basic/script.txt +0 -29
  29. data/lib/gloo/help/objs/basic/string.txt +0 -28
  30. data/lib/gloo/help/objs/basic/text.txt +0 -27
  31. data/lib/gloo/help/objs/basic/untyped.txt +0 -22
  32. data/lib/gloo/help/objs/cli/banner.txt +0 -49
  33. data/lib/gloo/help/objs/cli/bar.txt +0 -37
  34. data/lib/gloo/help/objs/cli/colorize.txt +0 -33
  35. data/lib/gloo/help/objs/cli/confirm.txt +0 -26
  36. data/lib/gloo/help/objs/cli/menu.txt +0 -44
  37. data/lib/gloo/help/objs/cli/menu_item.txt +0 -26
  38. data/lib/gloo/help/objs/cli/pastel.txt +0 -43
  39. data/lib/gloo/help/objs/cli/prompt.txt +0 -27
  40. data/lib/gloo/help/objs/cli/select.txt +0 -34
  41. data/lib/gloo/help/objs/ctrl/each.txt +0 -48
  42. data/lib/gloo/help/objs/ctrl/repeat.txt +0 -38
  43. data/lib/gloo/help/objs/data/markdown.txt +0 -25
  44. data/lib/gloo/help/objs/data/mysql.txt +0 -40
  45. data/lib/gloo/help/objs/data/query.txt +0 -37
  46. data/lib/gloo/help/objs/data/sqlite.txt +0 -26
  47. data/lib/gloo/help/objs/data/table.txt +0 -46
  48. data/lib/gloo/help/objs/dev/git_repo.txt +0 -36
  49. data/lib/gloo/help/objs/dev/stats.txt +0 -36
  50. data/lib/gloo/help/objs/dt/date.txt +0 -23
  51. data/lib/gloo/help/objs/dt/datetime.txt +0 -24
  52. data/lib/gloo/help/objs/dt/time.txt +0 -23
  53. data/lib/gloo/help/objs/ror/erb.txt +0 -37
  54. data/lib/gloo/help/objs/ror/eval.txt +0 -24
  55. data/lib/gloo/help/objs/snd/play.txt +0 -23
  56. data/lib/gloo/help/objs/snd/say.txt +0 -28
  57. data/lib/gloo/help/objs/system/file.txt +0 -48
  58. data/lib/gloo/help/objs/system/ssh_exec.txt +0 -30
  59. data/lib/gloo/help/objs/system/system.txt +0 -32
  60. data/lib/gloo/help/objs/web/http_get.txt +0 -35
  61. data/lib/gloo/help/objs/web/http_post.txt +0 -34
  62. data/lib/gloo/help/objs/web/json.txt +0 -34
  63. data/lib/gloo/help/objs/web/slack.txt +0 -33
  64. data/lib/gloo/help/objs/web/teams.txt +0 -30
  65. data/lib/gloo/help/objs/web/uri.txt +0 -38
  66. data/lib/gloo/help/verbs/alert.txt +0 -33
  67. data/lib/gloo/help/verbs/beep.txt +0 -25
  68. data/lib/gloo/help/verbs/cls.txt +0 -24
  69. data/lib/gloo/help/verbs/context.txt +0 -43
  70. data/lib/gloo/help/verbs/create.txt +0 -33
  71. data/lib/gloo/help/verbs/execute.txt +0 -27
  72. data/lib/gloo/help/verbs/help.txt +0 -34
  73. data/lib/gloo/help/verbs/if.txt +0 -37
  74. data/lib/gloo/help/verbs/list.txt +0 -34
  75. data/lib/gloo/help/verbs/load.txt +0 -38
  76. data/lib/gloo/help/verbs/move.txt +0 -42
  77. data/lib/gloo/help/verbs/put.txt +0 -38
  78. data/lib/gloo/help/verbs/quit.txt +0 -25
  79. data/lib/gloo/help/verbs/run.txt +0 -41
  80. data/lib/gloo/help/verbs/save.txt +0 -26
  81. data/lib/gloo/help/verbs/show.txt +0 -30
  82. data/lib/gloo/help/verbs/tell.txt +0 -34
  83. data/lib/gloo/help/verbs/unless.txt +0 -38
  84. data/lib/gloo/help/verbs/version.txt +0 -32
  85. data/lib/gloo/help/verbs/wait.txt +0 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be2491c8754aeb5997318b86f7a6b3f8473178c41aa4af8a36e78b4efcd662e5
4
- data.tar.gz: bd6ba3f319a58164b3ce7aed2b9a68201fde3a8220407850af1c9eacbddf9311
3
+ metadata.gz: 62d4c3076b0a61719c6a62ef65aa793a758074e0ab306376671b445582e70822
4
+ data.tar.gz: a2938182e0675a6992861da6dfea7da7a23e6998f235a9cb6b376ee823b7d8a7
5
5
  SHA512:
6
- metadata.gz: c48baf591661121a625dea69ea38e8913e8a01beac350024e7b0844ec9564ee9645900c8ef25b0f1de49f45ea89bffeecd8266c992d3ff34461a9f713f6b819f
7
- data.tar.gz: c65e8f1c3aa5af175336ad4ea9d97fd224132c59793a58c77850985da0f90bb519370a3a86e24b4486f8defaadb6950af57983936c5c2a9c1680858e69b0c8a9
6
+ metadata.gz: a3de2e0895ec0da13278af8ea8e3ffca79bf69d65c503254198ad4441f2e29d84f5393db01768ec5a0458c12666de14f6e06a2d33f1005c083039b7dfa4abc80
7
+ data.tar.gz: 40e4aa7fc2a957e53cccc880c8aa2e0e9061fb0dd8eb2294ca6b93866e1820b086e694b06207897daabe89747e01cca6830952c8045078a5f4aa53ddf5b588a3
data/.gitignore CHANGED
@@ -9,4 +9,5 @@
9
9
  *.gem
10
10
  *.log
11
11
  test/gloo/debug/*
12
- .DS_Store
12
+ Gemfile.lock
13
+ *.DS_Store
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ gloo-gem
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-3.0.2
data/gloo.gemspec CHANGED
@@ -27,14 +27,17 @@ Gem::Specification.new do |spec|
27
27
  spec.executables << 'o'
28
28
  spec.executables << 'gloo'
29
29
 
30
+ #
31
+ # tty uses an older version of bundle
32
+ #
30
33
  # spec.add_development_dependency 'bundler', '~> 2.2.22'
31
- # spec.add_development_dependency 'bundler', '~> 2.3.9'
34
+ # spec.add_development_dependency 'bundler', '~> 2.3.17'
32
35
  spec.add_development_dependency 'bundler', '~> 1.17.3'
33
36
  spec.add_development_dependency 'minitest', '~> 5.1', '>= 5.14.2'
34
37
  # spec.add_development_dependency 'rake', '~> 10.0'
35
38
  spec.add_development_dependency "rake", '~> 13.0', '>= 13.0.1'
36
39
 
37
- spec.add_dependency "gloo-lang", '~> 1.0', ">= 1.0.1"
40
+ spec.add_dependency "gloo-lang", '~> 1.1', ">= 1.1.0"
38
41
 
39
42
  spec.add_dependency "activesupport", '~> 6.1', ">= 6.1.5"
40
43
  # spec.add_dependency "activesupport", '~> 6.1', ">= 6.1.4.6"
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -0,0 +1,82 @@
1
+ # Author:: Eric Crane (mailto:eric.crane@mac.com)
2
+ # Copyright:: Copyright (c) 2019 Eric Crane. All rights reserved.
3
+ #
4
+ # Show the help information.
5
+ #
6
+
7
+ module Gloo
8
+ module Verbs
9
+ class Help < GlooLang::Core::Verb
10
+
11
+ KEYWORD = 'help'.freeze
12
+ KEYWORD_SHORT = '?'.freeze
13
+ DEFAULT_HELP = 'default_help'.freeze
14
+ HELP_NOT_FOUND_ERR = 'Help command could not be found:'.freeze
15
+
16
+ DISPATCH = {
17
+ settings: 'show_settings',
18
+ keywords: 'show_keywords',
19
+ verb: 'show_verbs',
20
+ verbs: 'show_verbs',
21
+ v: 'show_verbs',
22
+ obj: 'show_objs',
23
+ object: 'show_objs',
24
+ objects: 'show_objs',
25
+ o: 'show_objs',
26
+ topics: 'show_topics'
27
+ }.freeze
28
+
29
+ #
30
+ # Run the verb.
31
+ #
32
+ def run
33
+ data = "\n For documentation use the gloo website. \n\n"
34
+ @engine.log.show data
35
+ end
36
+
37
+ #
38
+ # Get the Verb's keyword.
39
+ #
40
+ def self.keyword
41
+ return KEYWORD
42
+ end
43
+
44
+ #
45
+ # Get the Verb's keyword shortcut.
46
+ #
47
+ def self.keyword_shortcut
48
+ return KEYWORD_SHORT
49
+ end
50
+
51
+ # ---------------------------------------------------------------------
52
+ # Private functions
53
+ # ---------------------------------------------------------------------
54
+
55
+ private
56
+
57
+ #
58
+ # Write output to it and show it unless we are in
59
+ # silent mode.
60
+ #
61
+ def show_output( out )
62
+ @engine.heap.it.set_to out
63
+ puts out unless @engine.args.quiet?
64
+ end
65
+
66
+ #
67
+ # Show application settings.
68
+ #
69
+ def show_settings
70
+ @engine.settings.show
71
+ end
72
+
73
+ #
74
+ # Show all keywords: verbs and objects.
75
+ #
76
+ def show_keywords
77
+ @engine.dictionary.show_keywords
78
+ end
79
+
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,37 @@
1
+ # Author:: Eric Crane (mailto:eric.crane@mac.com)
2
+ # Copyright:: Copyright (c) 2019 Eric Crane. All rights reserved.
3
+ #
4
+ # Show the current application version.
5
+ #
6
+
7
+ module GlooLang
8
+ module Verbs
9
+ class Version < GlooLang::Core::Verb
10
+
11
+ KEYWORD = 'version'.freeze
12
+ KEYWORD_SHORT = 'v'.freeze
13
+
14
+ #
15
+ # Run the verb.
16
+ #
17
+ def run
18
+ @engine.log.show GlooLang::App::Info.full_version
19
+ end
20
+
21
+ #
22
+ # Get the Verb's keyword.
23
+ #
24
+ def self.keyword
25
+ return KEYWORD
26
+ end
27
+
28
+ #
29
+ # Get the Verb's keyword shortcut.
30
+ #
31
+ def self.keyword_shortcut
32
+ return KEYWORD_SHORT
33
+ end
34
+
35
+ end
36
+ end
37
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gloo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-25 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -70,20 +70,20 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '1.0'
73
+ version: '1.1'
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 1.0.1
76
+ version: 1.1.0
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '1.0'
83
+ version: '1.1'
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 1.0.1
86
+ version: 1.1.0
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: activesupport
89
89
  requirement: !ruby/object:Gem::Requirement
@@ -236,10 +236,11 @@ files:
236
236
  - ".DS_Store"
237
237
  - ".gitignore"
238
238
  - ".rubocop.yml"
239
+ - ".ruby-gemset"
240
+ - ".ruby-version"
239
241
  - ".travis.yml"
240
242
  - CODE_OF_CONDUCT.md
241
243
  - Gemfile
242
- - Gemfile.lock
243
244
  - LICENSE.txt
244
245
  - README.md
245
246
  - Rakefile
@@ -254,81 +255,6 @@ files:
254
255
  - lib/gloo/app/info.rb
255
256
  - lib/gloo/app/log.rb
256
257
  - lib/gloo/app/platform.rb
257
- - lib/gloo/help/app/application.txt
258
- - lib/gloo/help/app/configuration.txt
259
- - lib/gloo/help/app/default_help.txt
260
- - lib/gloo/help/app/logging.txt
261
- - lib/gloo/help/core/color.txt
262
- - lib/gloo/help/core/error.txt
263
- - lib/gloo/help/core/events.txt
264
- - lib/gloo/help/core/gloo_system.txt
265
- - lib/gloo/help/core/here.txt
266
- - lib/gloo/help/core/it.txt
267
- - lib/gloo/help/core/ops.txt
268
- - lib/gloo/help/core/pathname.txt
269
- - lib/gloo/help/objs/basic/alias.txt
270
- - lib/gloo/help/objs/basic/boolean.txt
271
- - lib/gloo/help/objs/basic/container.txt
272
- - lib/gloo/help/objs/basic/decimal.txt
273
- - lib/gloo/help/objs/basic/integer.txt
274
- - lib/gloo/help/objs/basic/script.txt
275
- - lib/gloo/help/objs/basic/string.txt
276
- - lib/gloo/help/objs/basic/text.txt
277
- - lib/gloo/help/objs/basic/untyped.txt
278
- - lib/gloo/help/objs/cli/banner.txt
279
- - lib/gloo/help/objs/cli/bar.txt
280
- - lib/gloo/help/objs/cli/colorize.txt
281
- - lib/gloo/help/objs/cli/confirm.txt
282
- - lib/gloo/help/objs/cli/menu.txt
283
- - lib/gloo/help/objs/cli/menu_item.txt
284
- - lib/gloo/help/objs/cli/pastel.txt
285
- - lib/gloo/help/objs/cli/prompt.txt
286
- - lib/gloo/help/objs/cli/select.txt
287
- - lib/gloo/help/objs/ctrl/each.txt
288
- - lib/gloo/help/objs/ctrl/repeat.txt
289
- - lib/gloo/help/objs/data/markdown.txt
290
- - lib/gloo/help/objs/data/mysql.txt
291
- - lib/gloo/help/objs/data/query.txt
292
- - lib/gloo/help/objs/data/sqlite.txt
293
- - lib/gloo/help/objs/data/table.txt
294
- - lib/gloo/help/objs/dev/git_repo.txt
295
- - lib/gloo/help/objs/dev/stats.txt
296
- - lib/gloo/help/objs/dt/date.txt
297
- - lib/gloo/help/objs/dt/datetime.txt
298
- - lib/gloo/help/objs/dt/time.txt
299
- - lib/gloo/help/objs/ror/erb.txt
300
- - lib/gloo/help/objs/ror/eval.txt
301
- - lib/gloo/help/objs/snd/play.txt
302
- - lib/gloo/help/objs/snd/say.txt
303
- - lib/gloo/help/objs/system/file.txt
304
- - lib/gloo/help/objs/system/ssh_exec.txt
305
- - lib/gloo/help/objs/system/system.txt
306
- - lib/gloo/help/objs/web/http_get.txt
307
- - lib/gloo/help/objs/web/http_post.txt
308
- - lib/gloo/help/objs/web/json.txt
309
- - lib/gloo/help/objs/web/slack.txt
310
- - lib/gloo/help/objs/web/teams.txt
311
- - lib/gloo/help/objs/web/uri.txt
312
- - lib/gloo/help/verbs/alert.txt
313
- - lib/gloo/help/verbs/beep.txt
314
- - lib/gloo/help/verbs/cls.txt
315
- - lib/gloo/help/verbs/context.txt
316
- - lib/gloo/help/verbs/create.txt
317
- - lib/gloo/help/verbs/execute.txt
318
- - lib/gloo/help/verbs/help.txt
319
- - lib/gloo/help/verbs/if.txt
320
- - lib/gloo/help/verbs/list.txt
321
- - lib/gloo/help/verbs/load.txt
322
- - lib/gloo/help/verbs/move.txt
323
- - lib/gloo/help/verbs/put.txt
324
- - lib/gloo/help/verbs/quit.txt
325
- - lib/gloo/help/verbs/run.txt
326
- - lib/gloo/help/verbs/save.txt
327
- - lib/gloo/help/verbs/show.txt
328
- - lib/gloo/help/verbs/tell.txt
329
- - lib/gloo/help/verbs/unless.txt
330
- - lib/gloo/help/verbs/version.txt
331
- - lib/gloo/help/verbs/wait.txt
332
258
  - lib/gloo/objs/cli/banner.rb
333
259
  - lib/gloo/objs/cli/bar.rb
334
260
  - lib/gloo/objs/cli/colorize.rb
@@ -348,6 +274,8 @@ files:
348
274
  - lib/gloo/verbs/alert.rb
349
275
  - lib/gloo/verbs/beep.rb
350
276
  - lib/gloo/verbs/cls.rb
277
+ - lib/gloo/verbs/help.rb
278
+ - lib/gloo/verbs/version.rb
351
279
  - lib/run.rb
352
280
  homepage: http://github.com/ecrane/gloo
353
281
  licenses:
data/Gemfile.lock DELETED
@@ -1,175 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gloo (0.8.0)
5
- activesupport (~> 6.1, >= 6.1.5)
6
- chronic (~> 0.10, >= 0.10.2)
7
- colorize (~> 0.8, >= 0.8.1)
8
- gloo-lang (~> 1.0, >= 1.0.1)
9
- json (~> 2.1, >= 2.1.0)
10
- net-ssh (~> 6.1, >= 6.1.0)
11
- openssl (~> 2.1, >= 2.1.0)
12
- tty (~> 0.10, >= 0.10.0)
13
-
14
- GEM
15
- remote: https://rubygems.org/
16
- specs:
17
- activesupport (6.1.5)
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
- i18n (>= 1.6, < 2)
20
- minitest (>= 5.1)
21
- tzinfo (~> 2.0)
22
- zeitwerk (~> 2.3)
23
- ast (2.4.2)
24
- chronic (0.10.2)
25
- colorize (0.8.1)
26
- concurrent-ruby (1.1.10)
27
- diff-lcs (1.5.0)
28
- equatable (0.7.0)
29
- gloo-lang (1.0.1)
30
- activesupport (~> 6.1, >= 6.1.4.6)
31
- chronic (~> 0.10, >= 0.10.2)
32
- json (~> 2.1, >= 2.1.0)
33
- net-ssh (~> 6.1, >= 6.1.0)
34
- openssl (~> 2.1, >= 2.1.0)
35
- tty-platform (~> 0.3, >= 0.3.0)
36
- i18n (1.10.0)
37
- concurrent-ruby (~> 1.0)
38
- ipaddr (1.2.4)
39
- json (2.6.1)
40
- kramdown (1.16.2)
41
- minitest (5.15.0)
42
- necromancer (0.5.1)
43
- net-ssh (6.1.0)
44
- openssl (2.2.1)
45
- ipaddr
46
- parallel (1.22.0)
47
- parser (3.1.1.0)
48
- ast (~> 2.4.1)
49
- pastel (0.7.4)
50
- equatable (~> 0.6)
51
- tty-color (~> 0.5)
52
- rainbow (3.1.1)
53
- rake (13.0.6)
54
- regexp_parser (2.2.1)
55
- rexml (3.2.5)
56
- rouge (3.28.0)
57
- rubocop (1.26.1)
58
- parallel (~> 1.10)
59
- parser (>= 3.1.0.0)
60
- rainbow (>= 2.2.2, < 4.0)
61
- regexp_parser (>= 1.8, < 3.0)
62
- rexml
63
- rubocop-ast (>= 1.16.0, < 2.0)
64
- ruby-progressbar (~> 1.7)
65
- unicode-display_width (>= 1.4.0, < 3.0)
66
- rubocop-ast (1.16.0)
67
- parser (>= 3.1.1.0)
68
- ruby-progressbar (1.11.0)
69
- strings (0.1.8)
70
- strings-ansi (~> 0.1)
71
- unicode-display_width (~> 1.5)
72
- unicode_utils (~> 1.4)
73
- strings-ansi (0.2.0)
74
- thor (0.20.3)
75
- tty (0.10.0)
76
- bundler (~> 1.16, < 2.0)
77
- equatable (~> 0.5)
78
- pastel (~> 0.7.2)
79
- thor (~> 0.20.0)
80
- tty-box (~> 0.4.1)
81
- tty-color (~> 0.5)
82
- tty-command (~> 0.9.0)
83
- tty-config (~> 0.3.2)
84
- tty-cursor (~> 0.7)
85
- tty-editor (~> 0.5)
86
- tty-file (~> 0.8.0)
87
- tty-font (~> 0.4.0)
88
- tty-logger (~> 0.2.0)
89
- tty-markdown (~> 0.6.0)
90
- tty-pager (~> 0.12)
91
- tty-pie (~> 0.3.0)
92
- tty-platform (~> 0.2)
93
- tty-progressbar (~> 0.17)
94
- tty-prompt (~> 0.19)
95
- tty-screen (~> 0.7)
96
- tty-spinner (~> 0.9)
97
- tty-table (~> 0.11.0)
98
- tty-tree (~> 0.3)
99
- tty-which (~> 0.4)
100
- tty-box (0.4.1)
101
- pastel (~> 0.7.2)
102
- strings (~> 0.1.6)
103
- tty-cursor (~> 0.7)
104
- tty-color (0.6.0)
105
- tty-command (0.9.0)
106
- pastel (~> 0.7.0)
107
- tty-config (0.3.2)
108
- tty-cursor (0.7.1)
109
- tty-editor (0.5.1)
110
- tty-prompt (~> 0.19)
111
- tty-which (~> 0.4)
112
- tty-file (0.8.0)
113
- diff-lcs (~> 1.3)
114
- pastel (~> 0.7.2)
115
- tty-prompt (~> 0.18)
116
- tty-font (0.4.0)
117
- tty-logger (0.2.0)
118
- pastel (~> 0.7.0)
119
- tty-markdown (0.6.0)
120
- kramdown (~> 1.16.2)
121
- pastel (~> 0.7.2)
122
- rouge (~> 3.3)
123
- strings (~> 0.1.4)
124
- tty-color (~> 0.4)
125
- tty-screen (~> 0.6)
126
- tty-pager (0.13.0)
127
- strings (~> 0.1.8)
128
- tty-screen (~> 0.8)
129
- tty-pie (0.3.0)
130
- pastel (~> 0.7.3)
131
- tty-cursor (~> 0.7)
132
- tty-platform (0.3.0)
133
- tty-progressbar (0.18.2)
134
- strings-ansi (~> 0.2)
135
- tty-cursor (~> 0.7)
136
- tty-screen (~> 0.8)
137
- unicode-display_width (>= 1.6, < 3.0)
138
- tty-prompt (0.21.0)
139
- necromancer (~> 0.5.0)
140
- pastel (~> 0.7.0)
141
- tty-reader (~> 0.7.0)
142
- tty-reader (0.7.0)
143
- tty-cursor (~> 0.7)
144
- tty-screen (~> 0.7)
145
- wisper (~> 2.0.0)
146
- tty-screen (0.8.1)
147
- tty-spinner (0.9.3)
148
- tty-cursor (~> 0.7)
149
- tty-table (0.11.0)
150
- equatable (~> 0.6)
151
- necromancer (~> 0.5)
152
- pastel (~> 0.7.2)
153
- strings (~> 0.1.5)
154
- tty-screen (~> 0.7)
155
- tty-tree (0.4.0)
156
- tty-which (0.5.0)
157
- tzinfo (2.0.4)
158
- concurrent-ruby (~> 1.0)
159
- unicode-display_width (1.8.0)
160
- unicode_utils (1.4.0)
161
- wisper (2.0.1)
162
- zeitwerk (2.5.4)
163
-
164
- PLATFORMS
165
- ruby
166
-
167
- DEPENDENCIES
168
- bundler (~> 1.17.3)
169
- gloo!
170
- minitest (~> 5.1, >= 5.14.2)
171
- rake (~> 13.0, >= 13.0.1)
172
- rubocop
173
-
174
- BUNDLED WITH
175
- 1.17.3
@@ -1,22 +0,0 @@
1
- GLOO APPLICATION
2
-
3
- DESCRIPTION
4
- Gloo scripting language. A scripting language built on ruby.
5
- More information coming soon.
6
-
7
- SYNOPSIS
8
- gloo [global option] [file]
9
-
10
- GLOBAL OPTIONS
11
- --cli - Run in CLI mode
12
- - If no options are specified, this is the default.
13
- --version - Show application version
14
- --help - Show this help page
15
-
16
- FILE
17
- TODO: document running a gloo script
18
- how to reference files by relative path in gloo folder
19
- and also by absolute path
20
-
21
- SEE ALSO
22
- application, configuration
@@ -1,7 +0,0 @@
1
- CONFIGURATION
2
-
3
- DESCRIPTION
4
- TODO: document the application configuration and settings
5
-
6
- SEE ALSO
7
- application, help
@@ -1,14 +0,0 @@
1
- GLOO HELP
2
-
3
- TODO: write this article
4
-
5
- LISTS
6
- Show options for object and verb lists
7
-
8
- DETAIL
9
- How to get help detail for verbs and objects
10
- How to see a help pages
11
- How to see a list of help pages (topics)
12
-
13
- SEE ALSO
14
- application, configuration
@@ -1,16 +0,0 @@
1
- GLOO APPLICATION LOGGING
2
-
3
- DESCRIPTION
4
- Gloo writes to the gloo.log as well as to the console.
5
- Debug messages are written to the log only, but other messages
6
- are also written to the console unless the application is
7
- running in quiet mode.
8
-
9
- CONFIGURATION
10
- The application logs folder is in the gloo folder.
11
- When gloo is run, the gloo.log file will be written to.
12
-
13
- TAIL
14
- Example tail command to watch the gloo log:
15
-
16
- tail -f ~/gloo/logs/gloo.log
@@ -1,31 +0,0 @@
1
- COLOR
2
-
3
- DESCRIPTION
4
- The following colors can be used by the show verb to display
5
- colored text:
6
-
7
- red
8
- blue
9
- green
10
- white
11
- black
12
- yellow
13
-
14
- The color names are considered as virtual objects but may
15
- also be referenced in variables. See the example below.
16
-
17
- EXAMPLE
18
- Here are some examples of expression usage:
19
-
20
- #
21
- # Show multiple messages in color
22
- #
23
- colors [can] :
24
- var [string] : red
25
- on_load [script] :
26
- show "red" (colors.var)
27
- show "blue" (blue)
28
- show "green" (green)
29
-
30
- SEE ALSO
31
- show
@@ -1,33 +0,0 @@
1
- ERROR
2
-
3
- DESCRIPTION
4
- Gloo has a special 'error' variable that's not part of the normal
5
- object heap. The error will be empty most of the time, but
6
- if a command results in an error, this variable will hold the
7
- error message until the next command is executed. The error
8
- is a string and can be accessed by simply referring to the
9
- path-name 'error'.
10
-
11
- EXAMPLE
12
- To see the last error:
13
-
14
- > show error
15
-
16
- To run a command that generates an error:
17
-
18
- > put 3 into
19
- 'put' must include 'into' target
20
-
21
- Then, showing the error
22
-
23
- > show error
24
- 'put' must include 'into' target
25
-
26
- But, as mentioned, the next command will clear out the last error.
27
- If you need to keep track of the result of a command, you should
28
- put the error into another object.
29
-
30
- > create err as string
31
- > put 3 into
32
- > put error into err
33
-
@@ -1,21 +0,0 @@
1
- EVENTS
2
-
3
- DESCRIPTION
4
- Scripts can be written to be triggered by events. The current list is as
5
- follows, but it is expected that the list of events will grow.
6
-
7
- on_load - run when a script loads
8
- on_unload - run when an object receives an unload message
9
-
10
- TODO: add event types.
11
-
12
- EXAMPLE
13
- Show a message when a file is loaded:
14
-
15
- start [container] :
16
- on_load [script] : show "Welcome back!" (white)
17
-
18
- Show a message when a file unloaded:
19
-
20
- done [container] :
21
- on_unload [script] : show "See ya soon!" (white)