File tree Expand file tree Collapse file tree 2 files changed +52
-5
lines changed Expand file tree Collapse file tree 2 files changed +52
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## v2.0.0 (in development)
4
4
5
- ### Intentionally Restricted Environment Variable Support
5
+ ### Enhancements
6
+
7
+ #### Subcommand and Long Option Inference
8
+
9
+ If the ` RABBITMQADMIN_NON_INTERACTIVE_MODE ` is not set to ` true ` , this tool
10
+ now can infer subcommand and --long-option names.
11
+
12
+ This means that a subcommand can be referenced with its unique prefix,
13
+ that is,
14
+
15
+ * 'del queue' will be inferred as 'delete queue'
16
+ * 'del q --nam "a.queue"' will be inferred as 'delete queue --name "a.queue"'
17
+
18
+ To enable each feature, set the following environment variables to
19
+ 'true':
20
+
21
+ * ` RABBITMQADMIN_INFER_SUBCOMMANDS `
22
+ * ` RABBITMQADMIN_INFER_LONG_OPTIONS `
23
+
24
+ This feature is only mean to be used interactively. For non-interactive
25
+ use, it can be potentially dangerous and therefore requires
26
+ an explicit opt-in from the user.
27
+
28
+ #### Intentionally Restricted Environment Variable Support
6
29
7
30
Environment variables have a number of serious downsides compared to a ` rabbitmqadmin.conf `
8
31
and the regular ` --long-options ` on the command line:
Original file line number Diff line number Diff line change @@ -209,10 +209,10 @@ as a result:
209
209
```
210
210
key
211
211
Product name RabbitMQ
212
- Product version 4.0.5
213
- RabbitMQ version 4.0.5
214
- Erlang version 26.2.5.6
215
- Erlang details Erlang/OTP 26 [erts-14.2.5.5 ] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
212
+ Product version 4.0.7
213
+ RabbitMQ version 4.0.7
214
+ Erlang version 26.2.5.10
215
+ Erlang details Erlang/OTP 26 [erts-14.2.5.9 ] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
216
216
```
217
217
218
218
### Retrieving Basic Node Information
@@ -475,6 +475,30 @@ rabbitmqadmin deprecated_features list
475
475
rabbitmqadmin list deprecated_features
476
476
```
477
477
478
+ ## Subcommand and Long Option Inference
479
+
480
+ This feature is available only in the ` main ` branch
481
+ at the moment.
482
+
483
+ If the ` RABBITMQADMIN_NON_INTERACTIVE_MODE ` is not set to ` true ` , this tool
484
+ now can infer subcommand and --long-option names.
485
+
486
+ This means that a subcommand can be referenced with its unique prefix,
487
+ that is,
488
+
489
+ * 'del queue' will be inferred as 'delete queue'
490
+ * 'del q --nam "a.queue"' will be inferred as 'delete queue --name "a.queue"'
491
+
492
+ To enable each feature, set the following environment variables to
493
+ 'true':
494
+
495
+ * ` RABBITMQADMIN_INFER_SUBCOMMANDS `
496
+ * ` RABBITMQADMIN_INFER_LONG_OPTIONS `
497
+
498
+ This feature is only mean to be used interactively. For non-interactive
499
+ use, it can be potentially dangerous and therefore requires
500
+ an explicit opt-in from the user.
501
+
478
502
479
503
## Configuration Files
480
504
You can’t perform that action at this time.
0 commit comments