hammer_cli 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +3 -1
  3. data/config/cli_config.template.yml +3 -0
  4. data/doc/creating_commands.md +1 -1
  5. data/doc/installation.md +3 -2
  6. data/doc/release_notes.md +17 -0
  7. data/doc/writing_a_plugin.md +1 -1
  8. data/lib/hammer_cli/abstract.rb +46 -9
  9. data/lib/hammer_cli/apipie/command.rb +10 -1
  10. data/lib/hammer_cli/apipie/option_builder.rb +29 -11
  11. data/lib/hammer_cli/apipie/option_definition.rb +18 -0
  12. data/lib/hammer_cli/apipie/resource.rb +4 -22
  13. data/lib/hammer_cli/exception_handler.rb +18 -6
  14. data/lib/hammer_cli/exceptions.rb +1 -0
  15. data/lib/hammer_cli/i18n.rb +4 -0
  16. data/lib/hammer_cli/main.rb +2 -0
  17. data/lib/hammer_cli/modules.rb +30 -2
  18. data/lib/hammer_cli/options/matcher.rb +48 -0
  19. data/lib/hammer_cli/output/adapter.rb +3 -1
  20. data/lib/hammer_cli/output/adapter/csv.rb +5 -2
  21. data/lib/hammer_cli/output/adapter/json.rb +17 -0
  22. data/lib/hammer_cli/output/adapter/table.rb +11 -17
  23. data/lib/hammer_cli/output/adapter/tree_structure.rb +74 -0
  24. data/lib/hammer_cli/output/adapter/wrapper_formatter.rb +20 -0
  25. data/lib/hammer_cli/output/adapter/yaml.rb +16 -0
  26. data/lib/hammer_cli/shell.rb +3 -8
  27. data/lib/hammer_cli/utils.rb +10 -0
  28. data/lib/hammer_cli/version.rb +1 -1
  29. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  30. data/locale/de/hammer-cli.po +296 -0
  31. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  32. data/locale/en/hammer-cli.po +1 -1
  33. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/en_GB/hammer-cli.po +133 -133
  35. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  36. data/locale/es/hammer-cli.po +148 -147
  37. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  38. data/locale/fr/hammer-cli.po +142 -141
  39. data/locale/hammer-cli.pot +39 -32
  40. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  41. data/locale/it/hammer-cli.po +293 -0
  42. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  43. data/locale/ja/hammer-cli.po +291 -0
  44. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  45. data/locale/ko/hammer-cli.po +292 -0
  46. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  47. data/locale/pt_BR/hammer-cli.po +294 -0
  48. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  49. data/locale/ru/hammer-cli.po +293 -0
  50. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  51. data/locale/zh_CN/hammer-cli.po +292 -0
  52. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  53. data/locale/zh_TW/hammer-cli.po +292 -0
  54. data/test/unit/apipie/command_test.rb +22 -0
  55. data/test/unit/apipie/option_builder_test.rb +21 -7
  56. data/test/unit/apipie/option_definition_test.rb +26 -0
  57. data/test/unit/fixtures/apipie/documented.json +26 -0
  58. data/test/unit/modules_test.rb +13 -2
  59. data/test/unit/options/matcher_test.rb +61 -0
  60. data/test/unit/output/adapter/json_test.rb +214 -0
  61. data/test/unit/output/adapter/table_test.rb +66 -0
  62. data/test/unit/output/adapter/yaml_test.rb +213 -0
  63. data/test/unit/utils_test.rb +17 -0
  64. metadata +249 -205
@@ -4,14 +4,15 @@
4
4
  #
5
5
  # Translators:
6
6
  # Claer <transiblu@claer.hammock.fr>, 2014
7
+ # Dominic Cleal <dcleal@redhat.com>, 2014
7
8
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014
8
9
  msgid ""
9
10
  msgstr ""
10
- "Project-Id-Version: hammer-cli 0.1.3\n"
11
+ "Project-Id-Version: hammer-cli 0.1.4\n"
11
12
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2014-08-13 16:09+0200\n"
13
- "PO-Revision-Date: 2014-08-19 12:01+0000\n"
14
- "Last-Translator: Claer <transiblu@claer.hammock.fr>\n"
13
+ "POT-Creation-Date: 2014-09-15 12:50+0100\n"
14
+ "PO-Revision-Date: 2014-09-16 09:51+0000\n"
15
+ "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
15
16
  "Language-Team: French (http://www.transifex.com/projects/p/foreman/language/fr/)\n"
16
17
  "MIME-Version: 1.0\n"
17
18
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -19,6 +20,117 @@ msgstr ""
19
20
  "Language: fr\n"
20
21
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
21
22
 
23
+ #: lib/hammer_cli/subcommand.rb:56
24
+ msgid ""
25
+ "can't replace subcommand %<name>s (%<existing_class>s) with %<name>s "
26
+ "(%<new_class>s)"
27
+ msgstr "impossible de remplacer la sous-commande %<name>s (%<existing_class>s) par %<name>s (%<new_class>s)"
28
+
29
+ #: lib/hammer_cli/logger.rb:28
30
+ msgid "No permissions to create log dir %s"
31
+ msgstr "Permission refusée pour la création du répertoire de log %s "
32
+
33
+ #: lib/hammer_cli/logger.rb:43
34
+ msgid "File %s not writeable, won't log anything to the file!"
35
+ msgstr "Fichier %s non disponible en écriture, aucun log ne sera ajouté au fichier !"
36
+
37
+ #: lib/hammer_cli/main.rb:7
38
+ msgid "be verbose"
39
+ msgstr "être verbeux"
40
+
41
+ #: lib/hammer_cli/main.rb:8
42
+ msgid "show debugging output "
43
+ msgstr "voir la sortie debug"
44
+
45
+ #: lib/hammer_cli/main.rb:9
46
+ msgid "path to custom config file"
47
+ msgstr "chemin du fichier de configuration spécifique"
48
+
49
+ #: lib/hammer_cli/main.rb:11
50
+ msgid "username to access the remote system"
51
+ msgstr "nom d'utilisateur pour accéder au système distant"
52
+
53
+ #: lib/hammer_cli/main.rb:13
54
+ msgid "password to access the remote system"
55
+ msgstr "mot de passe pour accéder au système distant"
56
+
57
+ #: lib/hammer_cli/main.rb:15
58
+ msgid "remote system address"
59
+ msgstr "adresse du système distant"
60
+
61
+ #: lib/hammer_cli/main.rb:18
62
+ msgid "show version"
63
+ msgstr "Voir la version"
64
+
65
+ #: lib/hammer_cli/main.rb:27
66
+ msgid "Show ids of associated resources"
67
+ msgstr "Afficher les IDs liées aux ressources"
68
+
69
+ #: lib/hammer_cli/main.rb:29
70
+ msgid "Explicitly turn interactive mode on/off"
71
+ msgstr "Désactiver explicitement le mode interactif"
72
+
73
+ #: lib/hammer_cli/main.rb:33
74
+ msgid "Output as CSV (same as --output=csv)"
75
+ msgstr "Sortie de type CSV (idem --output=csv)"
76
+
77
+ #: lib/hammer_cli/main.rb:34
78
+ msgid "Set output format. One of [%s]"
79
+ msgstr "Définir le format de sortie. Parmi [%s]"
80
+
81
+ #: lib/hammer_cli/main.rb:37
82
+ msgid "Character to separate the values"
83
+ msgstr "Caractère de séparation des valeurs"
84
+
85
+ #: lib/hammer_cli/main.rb:41
86
+ msgid "Get list of possible endings"
87
+ msgstr "Lister les fins possibles"
88
+
89
+ #: lib/hammer_cli/validator.rb:41
90
+ msgid "Unknown option name '%s'"
91
+ msgstr "Option nommée '%s' inconnue"
92
+
93
+ #: lib/hammer_cli/validator.rb:62
94
+ msgid "You can't set all options %s at one time"
95
+ msgstr "Vous ne pouvez pas définir toutes les options %s en même temps"
96
+
97
+ #: lib/hammer_cli/validator.rb:63
98
+ msgid "Options %s are required"
99
+ msgstr "Options %s requises"
100
+
101
+ #: lib/hammer_cli/validator.rb:79
102
+ msgid "You can't set any of options %s"
103
+ msgstr "Vous ne pouvez définir les options de %s"
104
+
105
+ #: lib/hammer_cli/validator.rb:80
106
+ msgid "At least one of options %s is required"
107
+ msgstr "Au moins une options de %s est requise"
108
+
109
+ #: lib/hammer_cli/shell.rb:10
110
+ msgid "Print help for commands"
111
+ msgstr "Afficher l'aide des commandes"
112
+
113
+ #: lib/hammer_cli/shell.rb:22
114
+ msgid "Exit interactive shell"
115
+ msgstr "Quitter le shell interactif"
116
+
117
+ #: lib/hammer_cli/shell.rb:120
118
+ msgid "Welcome to the hammer interactive shell"
119
+ msgstr "Bienvenue sur le shell interactif d'Hammer"
120
+
121
+ #: lib/hammer_cli/shell.rb:121
122
+ msgid "Type 'help' for usage information"
123
+ msgstr "Saisir 'help' pour des informations d'utilisation "
124
+
125
+ #: lib/hammer_cli/shell.rb:122
126
+ msgid ""
127
+ "Command completion is disabled on ruby < 1.9 due to compatibility problems."
128
+ msgstr "La complétion automatique est désactivée pour ruby < 1.9 à cause de problèmes de compatibilité."
129
+
130
+ #: lib/hammer_cli/shell.rb:138
131
+ msgid "Interactive shell"
132
+ msgstr "Shell interactif"
133
+
22
134
  #: lib/hammer_cli/clamp.rb:5
23
135
  msgid "too many arguments"
24
136
  msgstr "trop d'arguments"
@@ -61,136 +173,66 @@ msgstr "Peut être spécifié plusieurs fois."
61
173
 
62
174
  #: lib/hammer_cli/options/option_definition.rb:69
63
175
  msgid "Default: "
64
- msgstr "Défaut :"
176
+ msgstr "Défaut : "
65
177
 
66
178
  #: lib/hammer_cli/options/option_definition.rb:69
67
179
  msgid ", or "
68
- msgstr ", ou"
180
+ msgstr ", ou "
69
181
 
70
182
  #: lib/hammer_cli/options/normalizers.rb:26
71
183
  msgid "Comma-separated list of key=value."
72
184
  msgstr "Liste de clef=valeur séparées par des virgules."
73
185
 
74
- #: lib/hammer_cli/options/normalizers.rb:35
186
+ #: lib/hammer_cli/options/normalizers.rb:39
75
187
  msgid "value must be defined as a comma-separated list of key=value"
76
188
  msgstr "la valeur doit être définie comme liste de clef=valeur séparées par des virgules"
77
189
 
78
- #: lib/hammer_cli/options/normalizers.rb:46
190
+ #: lib/hammer_cli/options/normalizers.rb:57
79
191
  msgid "Comma separated list of values."
80
192
  msgstr "Liste de valeurs séparées par des virgules."
81
193
 
82
- #: lib/hammer_cli/options/normalizers.rb:58
194
+ #: lib/hammer_cli/options/normalizers.rb:69
83
195
  msgid "One of true/false, yes/no, 1/0."
84
196
  msgstr "Au choix parmi true/false, yes/no, 1/0."
85
197
 
86
- #: lib/hammer_cli/options/normalizers.rb:68
198
+ #: lib/hammer_cli/options/normalizers.rb:79
87
199
  msgid "value must be one of true/false, yes/no, 1/0"
88
200
  msgstr "La valeur doit être un de ces choix : true/false, yes/no, 1/0"
89
201
 
90
- #: lib/hammer_cli/options/normalizers.rb:107
202
+ #: lib/hammer_cli/options/normalizers.rb:118
91
203
  msgid "Unable to parse JSON input"
92
204
  msgstr "Impossible d'analyser l'entrée JSON"
93
205
 
94
- #: lib/hammer_cli/options/normalizers.rb:120
206
+ #: lib/hammer_cli/options/normalizers.rb:131
95
207
  msgid "One of %s"
96
208
  msgstr "Choisir parmi %s"
97
209
 
98
- #: lib/hammer_cli/options/normalizers.rb:127
210
+ #: lib/hammer_cli/options/normalizers.rb:138
99
211
  msgid "value must be one of '%s'"
100
212
  msgstr "la valeur doit être choisie parmi '%s'"
101
213
 
102
- #: lib/hammer_cli/options/normalizers.rb:146
214
+ #: lib/hammer_cli/options/normalizers.rb:157
103
215
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
104
216
  msgstr "Date et heure suivant YYYY-MM-DD HH:MM:SS ou format ISO 8601"
105
217
 
106
- #: lib/hammer_cli/options/normalizers.rb:153
218
+ #: lib/hammer_cli/options/normalizers.rb:164
107
219
  msgid "'%s' is not a valid date"
108
220
  msgstr "'%s' n'est pas une date valide"
109
221
 
110
- #: lib/hammer_cli/options/normalizers.rb:164
222
+ #: lib/hammer_cli/options/normalizers.rb:175
111
223
  msgid "Any combination (comma separated list) of '%s'"
112
224
  msgstr "Toute combinaison (liste séparée par des virgules) de '%s'"
113
225
 
114
- #: lib/hammer_cli/options/normalizers.rb:184
226
+ #: lib/hammer_cli/options/normalizers.rb:195
115
227
  msgid "value must be a combination of '%s'"
116
228
  msgstr "la valeur doit être une combinaison de '%s'"
117
229
 
118
- #: lib/hammer_cli/logger.rb:28
119
- msgid "No permissions to create log dir %s"
120
- msgstr "Permission refusée pour la création du répertoire de log %s "
121
-
122
- #: lib/hammer_cli/logger.rb:43
123
- msgid "File %s not writeable, won't log anything to the file!"
124
- msgstr "Fichier %s non disponible en écriture, aucun log ne sera ajouté au fichier !"
125
-
126
- #: lib/hammer_cli/main.rb:7
127
- msgid "be verbose"
128
- msgstr "être verbeux"
129
-
130
- #: lib/hammer_cli/main.rb:8
131
- msgid "show debugging output "
132
- msgstr "voir la sortie debug"
133
-
134
- #: lib/hammer_cli/main.rb:9
135
- msgid "path to custom config file"
136
- msgstr "chemin du fichier de configuration spécifique"
137
-
138
- #: lib/hammer_cli/main.rb:11
139
- msgid "username to access the remote system"
140
- msgstr "nom d'utilisateur pour accéder au système distant"
141
-
142
- #: lib/hammer_cli/main.rb:13
143
- msgid "password to access the remote system"
144
- msgstr "mot de passe pour accéder au système distant"
145
-
146
- #: lib/hammer_cli/main.rb:15
147
- msgid "remote system address"
148
- msgstr "adresse du système distant"
149
-
150
- #: lib/hammer_cli/main.rb:18
151
- msgid "show version"
152
- msgstr "Voir la version"
153
-
154
- #: lib/hammer_cli/main.rb:27
155
- msgid "Show ids of associated resources"
156
- msgstr "Afficher les IDs liées aux ressources"
157
-
158
- #: lib/hammer_cli/main.rb:29
159
- msgid "Explicitly turn interactive mode on/off"
160
- msgstr "Désactiver explicitement le mode interactif"
161
-
162
- #: lib/hammer_cli/main.rb:33
163
- msgid "Output as CSV (same as --output=csv)"
164
- msgstr "Sortie de type CSV (idem --output=csv)"
165
-
166
- #: lib/hammer_cli/main.rb:34
167
- msgid "Set output format. One of [%s]"
168
- msgstr "Définir le format de sortie. Parmi [%s]"
169
-
170
- #: lib/hammer_cli/main.rb:37
171
- msgid "Character to separate the values"
172
- msgstr "Caractère de séparation des valeurs"
173
-
174
- #: lib/hammer_cli/main.rb:41
175
- msgid "Get list of possible endings"
176
- msgstr "Lister les fins possibles"
177
-
178
230
  #: lib/hammer_cli/settings.rb:28
179
231
  msgid ""
180
232
  "Warning: location hammer.modules.d is deprecated, move your module "
181
233
  "configurations to cli.modules.d"
182
234
  msgstr "Attention: l'emplacement hammer.modules.d est déprécié, déplacez vos configurations dans cli.modules.d"
183
235
 
184
- #: lib/hammer_cli/modules.rb:10
185
- msgid ""
186
- "Legacy configuration of modules detected. Check section about configuration "
187
- "in user manual"
188
- msgstr "Ancienne configuration des modules détectée. Veuillez consulter la section configuration du manuel utilisateur"
189
-
190
- #: lib/hammer_cli/modules.rb:42
191
- msgid "Warning: An error occured while loading module %s"
192
- msgstr "Attention: Une erreur est survenue lors du chargement du module %s"
193
-
194
236
  #: lib/hammer_cli/exception_handler.rb:60
195
237
  msgid "Error: %s"
196
238
  msgstr "Erreur : %s"
@@ -221,25 +263,13 @@ msgid ""
221
263
  "settings)"
222
264
  msgstr "Est ce que '%s' était lancé pendant que le cache apipie était en cours d'utilisation ? (état normal pour un serveur de production)"
223
265
 
224
- #: lib/hammer_cli/validator.rb:41
225
- msgid "Unknown option name '%s'"
226
- msgstr "Option nommée '%s' inconnue"
227
-
228
- #: lib/hammer_cli/validator.rb:62
229
- msgid "You can't set all options %s at one time"
230
- msgstr "Vous ne pouvez pas définir toutes les options %s en même temps"
231
-
232
- #: lib/hammer_cli/validator.rb:63
233
- msgid "Options %s are required"
234
- msgstr "Options %s requises"
235
-
236
- #: lib/hammer_cli/validator.rb:79
237
- msgid "You can't set any of options %s"
238
- msgstr "Vous ne pouvez définir les options de %s"
266
+ #: lib/hammer_cli/output/formatters.rb:154
267
+ msgid "no"
268
+ msgstr "non"
239
269
 
240
- #: lib/hammer_cli/validator.rb:80
241
- msgid "At least one of options %s is required"
242
- msgstr "Au moins une options de %s est requise"
270
+ #: lib/hammer_cli/output/formatters.rb:154
271
+ msgid "yes"
272
+ msgstr "oui"
243
273
 
244
274
  #: lib/hammer_cli/output/adapter/csv.rb:171
245
275
  msgid "Message"
@@ -253,41 +283,12 @@ msgstr "Id"
253
283
  msgid "Name"
254
284
  msgstr "Nom"
255
285
 
256
- #: lib/hammer_cli/output/formatters.rb:154
257
- msgid "no"
258
- msgstr "non"
259
-
260
- #: lib/hammer_cli/output/formatters.rb:154
261
- msgid "yes"
262
- msgstr "oui"
263
-
264
- #: lib/hammer_cli/shell.rb:10
265
- msgid "Print help for commands"
266
- msgstr "Afficher l'aide des commandes"
267
-
268
- #: lib/hammer_cli/shell.rb:22
269
- msgid "Exit interactive shell"
270
- msgstr "Quitter le shell interactif"
271
-
272
- #: lib/hammer_cli/shell.rb:120
273
- msgid "Welcome to the hammer interactive shell"
274
- msgstr "Bienvenue sur le shell interactif d'Hammer"
275
-
276
- #: lib/hammer_cli/shell.rb:121
277
- msgid "Type 'help' for usage information"
278
- msgstr "Saisir 'help' pour des informations d'utilisation "
279
-
280
- #: lib/hammer_cli/shell.rb:122
286
+ #: lib/hammer_cli/modules.rb:10
281
287
  msgid ""
282
- "Command completion is disabled on ruby < 1.9 due to compatibility problems."
283
- msgstr "La complétion automatique est désactivée pour ruby < 1.9 à cause de problèmes de compatibilité."
284
-
285
- #: lib/hammer_cli/shell.rb:138
286
- msgid "Interactive shell"
287
- msgstr "Shell interactif"
288
+ "Legacy configuration of modules detected. Check section about configuration "
289
+ "in user manual"
290
+ msgstr "Ancienne configuration des modules détectée. Veuillez consulter la section configuration du manuel utilisateur"
288
291
 
289
- #: lib/hammer_cli/subcommand.rb:56
290
- msgid ""
291
- "can't replace subcommand %<name>s (%<existing_class>s) with %<name>s "
292
- "(%<new_class>s)"
293
- msgstr "impossible de remplacer la sous-commande %<name>s (%<existing_class>s) par %<name>s (%<new_class>s)"
292
+ #: lib/hammer_cli/modules.rb:42
293
+ msgid "Warning: An error occured while loading module %s"
294
+ msgstr "Attention: Une erreur est survenue lors du chargement du module %s"
@@ -6,9 +6,9 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: hammer-cli 0.1.3\n"
9
+ "Project-Id-Version: hammer-cli 0.1.4\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-08-20 13:02+0200\n"
11
+ "POT-Creation-Date: 2014-12-10 13:50+0100\n"
12
12
  "PO-Revision-Date: 2014-03-04 16:38+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -131,46 +131,50 @@ msgid "show debugging output "
131
131
  msgstr ""
132
132
 
133
133
  #: lib/hammer_cli/main.rb:9
134
- msgid "path to custom config file"
134
+ msgid "force reload of Apipie cache"
135
135
  msgstr ""
136
136
 
137
137
  #: lib/hammer_cli/main.rb:11
138
- msgid "username to access the remote system"
138
+ msgid "path to custom config file"
139
139
  msgstr ""
140
140
 
141
141
  #: lib/hammer_cli/main.rb:13
142
- msgid "password to access the remote system"
142
+ msgid "username to access the remote system"
143
143
  msgstr ""
144
144
 
145
145
  #: lib/hammer_cli/main.rb:15
146
+ msgid "password to access the remote system"
147
+ msgstr ""
148
+
149
+ #: lib/hammer_cli/main.rb:17
146
150
  msgid "remote system address"
147
151
  msgstr ""
148
152
 
149
- #: lib/hammer_cli/main.rb:18
153
+ #: lib/hammer_cli/main.rb:20
150
154
  msgid "show version"
151
155
  msgstr ""
152
156
 
153
- #: lib/hammer_cli/main.rb:27
157
+ #: lib/hammer_cli/main.rb:29
154
158
  msgid "Show ids of associated resources"
155
159
  msgstr ""
156
160
 
157
- #: lib/hammer_cli/main.rb:29
161
+ #: lib/hammer_cli/main.rb:31
158
162
  msgid "Explicitly turn interactive mode on/off"
159
163
  msgstr ""
160
164
 
161
- #: lib/hammer_cli/main.rb:33
165
+ #: lib/hammer_cli/main.rb:35
162
166
  msgid "Output as CSV (same as --output=csv)"
163
167
  msgstr ""
164
168
 
165
- #: lib/hammer_cli/main.rb:34
169
+ #: lib/hammer_cli/main.rb:36
166
170
  msgid "Set output format. One of [%s]"
167
171
  msgstr ""
168
172
 
169
- #: lib/hammer_cli/main.rb:37
173
+ #: lib/hammer_cli/main.rb:39
170
174
  msgid "Character to separate the values"
171
175
  msgstr ""
172
176
 
173
- #: lib/hammer_cli/main.rb:41
177
+ #: lib/hammer_cli/main.rb:43
174
178
  msgid "Get list of possible endings"
175
179
  msgstr ""
176
180
 
@@ -180,46 +184,54 @@ msgid ""
180
184
  "configurations to cli.modules.d"
181
185
  msgstr ""
182
186
 
183
- #: lib/hammer_cli/modules.rb:10
187
+ #: lib/hammer_cli/modules.rb:12
184
188
  msgid ""
185
189
  "Legacy configuration of modules detected. Check section about configuration "
186
190
  "in user manual"
187
191
  msgstr ""
188
192
 
189
- #: lib/hammer_cli/modules.rb:42
193
+ #: lib/hammer_cli/modules.rb:60
190
194
  msgid "Warning: An error occured while loading module %s"
191
195
  msgstr ""
192
196
 
193
- #: lib/hammer_cli/exception_handler.rb:60
197
+ #: lib/hammer_cli/modules.rb:87
198
+ msgid "Error: Some of the required modules are disabled in configuration: %s "
199
+ msgstr ""
200
+
201
+ #: lib/hammer_cli/exception_handler.rb:62
194
202
  msgid "Error: %s"
195
203
  msgstr ""
196
204
 
197
- #: lib/hammer_cli/exception_handler.rb:66
205
+ #: lib/hammer_cli/exception_handler.rb:68
198
206
  msgid "Error: %{message}"
199
207
  msgstr ""
200
208
 
201
- #: lib/hammer_cli/exception_handler.rb:67
209
+ #: lib/hammer_cli/exception_handler.rb:69
202
210
  msgid "See: '%{path} --help'"
203
211
  msgstr ""
204
212
 
205
- #: lib/hammer_cli/exception_handler.rb:84
213
+ #: lib/hammer_cli/exception_handler.rb:86
206
214
  msgid "Invalid username or password"
207
215
  msgstr ""
208
216
 
209
- #: lib/hammer_cli/exception_handler.rb:91
217
+ #: lib/hammer_cli/exception_handler.rb:93
210
218
  msgid "Could not load the API description from the server"
211
219
  msgstr ""
212
220
 
213
- #: lib/hammer_cli/exception_handler.rb:92
221
+ #: lib/hammer_cli/exception_handler.rb:94
214
222
  msgid "is the server down?"
215
223
  msgstr ""
216
224
 
217
- #: lib/hammer_cli/exception_handler.rb:93
225
+ #: lib/hammer_cli/exception_handler.rb:95
218
226
  msgid ""
219
227
  "was '%s' run on the server when using apipie cache? (typical production "
220
228
  "settings)"
221
229
  msgstr ""
222
230
 
231
+ #: lib/hammer_cli/exception_handler.rb:101
232
+ msgid "Missing arguments for %s"
233
+ msgstr ""
234
+
223
235
  #: lib/hammer_cli/validator.rb:41
224
236
  msgid "Unknown option name '%s'"
225
237
  msgstr ""
@@ -240,15 +252,15 @@ msgstr ""
240
252
  msgid "At least one of options %s is required"
241
253
  msgstr ""
242
254
 
243
- #: lib/hammer_cli/output/adapter/csv.rb:171
255
+ #: lib/hammer_cli/output/adapter/csv.rb:174
244
256
  msgid "Message"
245
257
  msgstr ""
246
258
 
247
- #: lib/hammer_cli/output/adapter/csv.rb:175
259
+ #: lib/hammer_cli/output/adapter/csv.rb:178
248
260
  msgid "Id"
249
261
  msgstr ""
250
262
 
251
- #: lib/hammer_cli/output/adapter/csv.rb:180
263
+ #: lib/hammer_cli/output/adapter/csv.rb:183
252
264
  msgid "Name"
253
265
  msgstr ""
254
266
 
@@ -268,20 +280,15 @@ msgstr ""
268
280
  msgid "Exit interactive shell"
269
281
  msgstr ""
270
282
 
271
- #: lib/hammer_cli/shell.rb:120
283
+ #: lib/hammer_cli/shell.rb:116
272
284
  msgid "Welcome to the hammer interactive shell"
273
285
  msgstr ""
274
286
 
275
- #: lib/hammer_cli/shell.rb:121
287
+ #: lib/hammer_cli/shell.rb:117
276
288
  msgid "Type 'help' for usage information"
277
289
  msgstr ""
278
290
 
279
- #: lib/hammer_cli/shell.rb:122
280
- msgid ""
281
- "Command completion is disabled on ruby < 1.9 due to compatibility problems."
282
- msgstr ""
283
-
284
- #: lib/hammer_cli/shell.rb:138
291
+ #: lib/hammer_cli/shell.rb:133
285
292
  msgid "Interactive shell"
286
293
  msgstr ""
287
294