hammer_cli 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -2
  3. data/bin/hammer +6 -0
  4. data/config/cli_config.template.yml +3 -0
  5. data/doc/creating_commands.md +19 -0
  6. data/doc/i18n.md +15 -0
  7. data/doc/installation.md +1 -1
  8. data/doc/release_notes.md +61 -0
  9. data/lib/hammer_cli/abstract.rb +10 -37
  10. data/lib/hammer_cli/apipie/command.rb +10 -6
  11. data/lib/hammer_cli/apipie/option_builder.rb +26 -13
  12. data/lib/hammer_cli/apipie/options.rb +12 -10
  13. data/lib/hammer_cli/completer.rb +2 -2
  14. data/lib/hammer_cli/exception_handler.rb +5 -4
  15. data/lib/hammer_cli/exceptions.rb +1 -0
  16. data/lib/hammer_cli/i18n.rb +41 -0
  17. data/lib/hammer_cli/main.rb +2 -2
  18. data/lib/hammer_cli/options/normalizers.rb +31 -0
  19. data/lib/hammer_cli/output/adapter/abstract.rb +5 -1
  20. data/lib/hammer_cli/output/adapter/csv.rb +140 -12
  21. data/lib/hammer_cli/shell.rb +6 -6
  22. data/lib/hammer_cli/subcommand.rb +82 -0
  23. data/lib/hammer_cli/utils.rb +13 -0
  24. data/lib/hammer_cli/version.rb +1 -1
  25. data/locale/Makefile +11 -10
  26. data/locale/README.md +18 -0
  27. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  28. data/locale/en/hammer-cli.po +227 -0
  29. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  30. data/locale/en_GB/hammer-cli.po +274 -0
  31. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  32. data/locale/es/hammer-cli.po +275 -0
  33. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/fr/hammer-cli.po +276 -0
  35. data/locale/hammer-cli.pot +158 -93
  36. data/test/reports/TEST-Fields-ContainerField-display-.xml +7 -0
  37. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +15 -0
  38. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +15 -0
  39. data/test/reports/TEST-Fields-ContainerField.xml +7 -0
  40. data/test/reports/TEST-Fields-Field-display-.xml +7 -0
  41. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +11 -0
  42. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +11 -0
  43. data/test/reports/TEST-Fields-Field-hide-blank-.xml +11 -0
  44. data/test/reports/TEST-Fields-Field-parameters.xml +9 -0
  45. data/test/reports/TEST-Fields-Field.xml +13 -0
  46. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +15 -0
  47. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +13 -0
  48. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +21 -0
  49. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +11 -0
  50. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +11 -0
  51. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +19 -0
  52. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +11 -0
  53. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +13 -0
  54. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +11 -0
  55. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +7 -0
  56. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +11 -0
  57. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +11 -0
  58. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +9 -0
  59. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +19 -0
  60. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +9 -0
  61. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +13 -0
  62. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +15 -0
  63. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +11 -0
  64. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +9 -0
  65. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +11 -0
  66. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +15 -0
  67. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +7 -0
  68. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +29 -0
  69. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +17 -0
  70. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +19 -0
  71. data/test/reports/TEST-HammerCLI-Completer.xml +7 -0
  72. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +25 -0
  73. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +29 -0
  74. data/test/reports/TEST-HammerCLI-CompleterLine.xml +7 -0
  75. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +23 -0
  76. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +15 -0
  77. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +13 -0
  78. data/test/reports/TEST-HammerCLI-CompleterWord.xml +7 -0
  79. data/test/reports/TEST-HammerCLI-Connection.xml +21 -0
  80. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +21 -0
  81. data/test/reports/TEST-HammerCLI-I18n.xml +11 -0
  82. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +11 -0
  83. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +11 -0
  84. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +9 -0
  85. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +7 -0
  86. data/test/reports/TEST-HammerCLI-MainCommand.xml +7 -0
  87. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +13 -0
  88. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +13 -0
  89. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +13 -0
  90. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +15 -0
  91. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +7 -0
  92. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +9 -0
  93. data/test/reports/TEST-HammerCLI-Modules-names.xml +13 -0
  94. data/test/reports/TEST-HammerCLI-Modules.xml +7 -0
  95. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +7 -0
  96. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +11 -0
  97. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +9 -0
  98. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +31 -0
  99. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +17 -0
  100. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +15 -0
  101. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +21 -0
  102. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +15 -0
  103. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +17 -0
  104. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +15 -0
  105. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +7 -0
  106. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +9 -0
  107. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +11 -0
  108. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +7 -0
  109. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +15 -0
  110. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +11 -0
  111. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +15 -0
  112. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +17 -0
  113. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +9 -0
  114. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +27 -0
  115. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +7 -0
  116. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +11 -0
  117. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +13 -0
  118. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +11 -0
  119. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +11 -0
  120. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +11 -0
  121. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +11 -0
  122. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +7 -0
  123. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +15 -0
  124. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +11 -0
  125. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +11 -0
  126. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +9 -0
  127. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +11 -0
  128. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +7 -0
  129. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +11 -0
  130. data/test/reports/TEST-HammerCLI-Output-Definition.xml +11 -0
  131. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +13 -0
  132. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +11 -0
  133. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +15 -0
  134. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +13 -0
  135. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +13 -0
  136. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +9 -0
  137. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +13 -0
  138. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +11 -0
  139. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +9 -0
  140. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +11 -0
  141. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +13 -0
  142. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +13 -0
  143. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +11 -0
  144. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +13 -0
  145. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +13 -0
  146. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +13 -0
  147. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +17 -0
  148. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +15 -0
  149. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +9 -0
  150. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +19 -0
  151. data/test/reports/TEST-HammerCLI-Output-Output.xml +7 -0
  152. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +13 -0
  153. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +15 -0
  154. data/test/reports/TEST-HammerCLI-Settings.xml +25 -0
  155. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +11 -0
  156. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +15 -0
  157. data/test/reports/TEST-HammerCLI-ShellHistory.xml +7 -0
  158. data/test/reports/TEST-MiniTest-Spec.xml +7 -0
  159. data/test/reports/TEST-String-camelize.xml +11 -0
  160. data/test/reports/TEST-String-formatting.xml +17 -0
  161. data/test/reports/TEST-String-indent.xml +11 -0
  162. data/test/reports/TEST-String-interactive-.xml +13 -0
  163. data/test/reports/TEST-String.xml +7 -0
  164. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +13 -0
  165. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +7 -0
  166. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +13 -0
  167. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +7 -0
  168. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +9 -0
  169. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +13 -0
  170. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +13 -0
  171. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +7 -0
  172. data/test/reports/TEST-constraints.xml +7 -0
  173. data/test/unit/abstract_test.rb +15 -11
  174. data/test/unit/apipie/command_test.rb +29 -1
  175. data/test/unit/apipie/option_builder_test.rb +22 -0
  176. data/test/unit/fixtures/apipie/documented.json +44 -0
  177. data/test/unit/options/normalizers_test.rb +35 -0
  178. data/test/unit/output/adapter/csv_test.rb +104 -4
  179. data/test/unit/utils_test.rb +58 -0
  180. metadata +292 -6
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-20 00:00:00.000000000 Z
12
+ date: 2014-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
@@ -29,16 +29,16 @@ dependencies:
29
29
  name: rest-client
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - <
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: 1.7.0
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - <
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: 1.7.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: logging
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -201,6 +201,7 @@ extra_rdoc_files:
201
201
  - doc/installation_rpm.md
202
202
  - doc/installation.md
203
203
  - doc/installation_deb.md
204
+ - doc/release_notes.md
204
205
  - config/cli.modules.d/module_config_template.yml
205
206
  - config/cli_config.template.yml
206
207
  - README.md
@@ -246,6 +247,144 @@ files:
246
247
  - lib/hammer_cli/exit_codes.rb
247
248
  - lib/hammer_cli/shell.rb
248
249
  - lib/hammer_cli/abstract.rb
250
+ - lib/hammer_cli/subcommand.rb
251
+ - test/reports/TEST-HammerCLI-MainCommand.xml
252
+ - test/reports/TEST-HammerCLI-ShellHistory.xml
253
+ - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
254
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
255
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
256
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
257
+ - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
258
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
259
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
260
+ - test/reports/TEST-HammerCLI-Output-Definition.xml
261
+ - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
262
+ - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
263
+ - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
264
+ - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
265
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
266
+ - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
267
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
268
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
269
+ - test/reports/TEST-constraints.xml
270
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
271
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
272
+ - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
273
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
274
+ - test/reports/TEST-HammerCLI-Apipie-Command.xml
275
+ - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
276
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
277
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
278
+ - test/reports/TEST-Fields-ContainerField.xml
279
+ - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
280
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
281
+ - test/reports/TEST-HammerCLI-Modules.xml
282
+ - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
283
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
284
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
285
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
286
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
287
+ - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
288
+ - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
289
+ - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
290
+ - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
291
+ - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
292
+ - test/reports/TEST-HammerCLI-Output-Output.xml
293
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
294
+ - test/reports/TEST-HammerCLI-CompleterLine.xml
295
+ - test/reports/TEST-HammerCLI-Modules-names.xml
296
+ - test/reports/TEST-Fields-Field-hide-blank-.xml
297
+ - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
298
+ - test/reports/TEST-HammerCLI-Connection.xml
299
+ - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
300
+ - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
301
+ - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
302
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
303
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
304
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
305
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
306
+ - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
307
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
308
+ - test/reports/TEST-HammerCLI-CompleterWord.xml
309
+ - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
310
+ - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
311
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
312
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
313
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
314
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
315
+ - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
316
+ - test/reports/TEST-String.xml
317
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
318
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
319
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
320
+ - test/reports/TEST-Fields-ContainerField-display-.xml
321
+ - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
322
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
323
+ - test/reports/TEST-HammerCLI-Settings.xml
324
+ - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
325
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
326
+ - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
327
+ - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
328
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
329
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
330
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
331
+ - test/reports/TEST-HammerCLI-Output-Output-messages.xml
332
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
333
+ - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
334
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
335
+ - test/reports/TEST-Fields-Field.xml
336
+ - test/reports/TEST-HammerCLI-AbstractCommand.xml
337
+ - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
338
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
339
+ - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
340
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
341
+ - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
342
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
343
+ - test/reports/TEST-HammerCLI-Completer-command-completion.xml
344
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
345
+ - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
346
+ - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
347
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
348
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
349
+ - test/reports/TEST-HammerCLI-I18n.xml
350
+ - test/reports/TEST-MiniTest-Spec.xml
351
+ - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
352
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
353
+ - test/reports/TEST-HammerCLI-Options-Normalizers.xml
354
+ - test/reports/TEST-HammerCLI-Output-Dsl.xml
355
+ - test/reports/TEST-HammerCLI-Output-Output-data.xml
356
+ - test/reports/TEST-Fields-Field-display-.xml
357
+ - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
358
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
359
+ - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
360
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
361
+ - test/reports/TEST-HammerCLI-Completer.xml
362
+ - test/reports/TEST-String-interactive-.xml
363
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
364
+ - test/reports/TEST-String-formatting.xml
365
+ - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
366
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
367
+ - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
368
+ - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
369
+ - test/reports/TEST-HammerCLI-ExceptionHandler.xml
370
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
371
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
372
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
373
+ - test/reports/TEST-Fields-Field-parameters.xml
374
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
375
+ - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
376
+ - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
377
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
378
+ - test/reports/TEST-String-camelize.xml
379
+ - test/reports/TEST-String-indent.xml
380
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
381
+ - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
382
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
383
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
384
+ - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
385
+ - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
386
+ - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
387
+ - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
249
388
  - test/unit/abstract_test.rb
250
389
  - test/unit/validator_test.rb
251
390
  - test/unit/main_test.rb
@@ -294,11 +433,21 @@ files:
294
433
  - doc/installation_rpm.md
295
434
  - doc/installation.md
296
435
  - doc/installation_deb.md
436
+ - doc/release_notes.md
297
437
  - config/cli.modules.d/module_config_template.yml
298
438
  - config/cli_config.template.yml
439
+ - locale/README.md
440
+ - locale/en_GB/hammer-cli.po
441
+ - locale/en_GB/LC_MESSAGES/hammer-cli.mo
442
+ - locale/es/hammer-cli.po
443
+ - locale/es/LC_MESSAGES/hammer-cli.mo
444
+ - locale/en/hammer-cli.po
445
+ - locale/en/LC_MESSAGES/hammer-cli.mo
299
446
  - locale/hammer-cli.pot
300
447
  - locale/Makefile
301
448
  - locale/zanata.xml
449
+ - locale/fr/hammer-cli.po
450
+ - locale/fr/LC_MESSAGES/hammer-cli.mo
302
451
  - LICENSE
303
452
  - README.md
304
453
  - hammer_cli_complete
@@ -327,6 +476,143 @@ signing_key:
327
476
  specification_version: 4
328
477
  summary: Universal command-line interface
329
478
  test_files:
479
+ - test/reports/TEST-HammerCLI-MainCommand.xml
480
+ - test/reports/TEST-HammerCLI-ShellHistory.xml
481
+ - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
482
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
483
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
484
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
485
+ - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
486
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
487
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
488
+ - test/reports/TEST-HammerCLI-Output-Definition.xml
489
+ - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
490
+ - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
491
+ - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
492
+ - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
493
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
494
+ - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
495
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
496
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
497
+ - test/reports/TEST-constraints.xml
498
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
499
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
500
+ - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
501
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
502
+ - test/reports/TEST-HammerCLI-Apipie-Command.xml
503
+ - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
504
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
505
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
506
+ - test/reports/TEST-Fields-ContainerField.xml
507
+ - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
508
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
509
+ - test/reports/TEST-HammerCLI-Modules.xml
510
+ - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
511
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
512
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
513
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
514
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
515
+ - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
516
+ - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
517
+ - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
518
+ - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
519
+ - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
520
+ - test/reports/TEST-HammerCLI-Output-Output.xml
521
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
522
+ - test/reports/TEST-HammerCLI-CompleterLine.xml
523
+ - test/reports/TEST-HammerCLI-Modules-names.xml
524
+ - test/reports/TEST-Fields-Field-hide-blank-.xml
525
+ - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
526
+ - test/reports/TEST-HammerCLI-Connection.xml
527
+ - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
528
+ - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
529
+ - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
530
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
531
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
532
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
533
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
534
+ - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
535
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
536
+ - test/reports/TEST-HammerCLI-CompleterWord.xml
537
+ - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
538
+ - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
539
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
540
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
541
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
542
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
543
+ - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
544
+ - test/reports/TEST-String.xml
545
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
546
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
547
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
548
+ - test/reports/TEST-Fields-ContainerField-display-.xml
549
+ - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
550
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
551
+ - test/reports/TEST-HammerCLI-Settings.xml
552
+ - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
553
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
554
+ - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
555
+ - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
556
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
557
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
558
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
559
+ - test/reports/TEST-HammerCLI-Output-Output-messages.xml
560
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
561
+ - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
562
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
563
+ - test/reports/TEST-Fields-Field.xml
564
+ - test/reports/TEST-HammerCLI-AbstractCommand.xml
565
+ - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
566
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
567
+ - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
568
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
569
+ - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
570
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
571
+ - test/reports/TEST-HammerCLI-Completer-command-completion.xml
572
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
573
+ - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
574
+ - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
575
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
576
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
577
+ - test/reports/TEST-HammerCLI-I18n.xml
578
+ - test/reports/TEST-MiniTest-Spec.xml
579
+ - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
580
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
581
+ - test/reports/TEST-HammerCLI-Options-Normalizers.xml
582
+ - test/reports/TEST-HammerCLI-Output-Dsl.xml
583
+ - test/reports/TEST-HammerCLI-Output-Output-data.xml
584
+ - test/reports/TEST-Fields-Field-display-.xml
585
+ - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
586
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
587
+ - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
588
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
589
+ - test/reports/TEST-HammerCLI-Completer.xml
590
+ - test/reports/TEST-String-interactive-.xml
591
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
592
+ - test/reports/TEST-String-formatting.xml
593
+ - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
594
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
595
+ - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
596
+ - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
597
+ - test/reports/TEST-HammerCLI-ExceptionHandler.xml
598
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
599
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
600
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
601
+ - test/reports/TEST-Fields-Field-parameters.xml
602
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
603
+ - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
604
+ - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
605
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
606
+ - test/reports/TEST-String-camelize.xml
607
+ - test/reports/TEST-String-indent.xml
608
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
609
+ - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
610
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
611
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
612
+ - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
613
+ - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
614
+ - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
615
+ - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
330
616
  - test/unit/abstract_test.rb
331
617
  - test/unit/validator_test.rb
332
618
  - test/unit/main_test.rb