Daniil Fedotov
7dd74a3232
Erlang terms formatter
2016-11-10 12:19:47 +00:00
Daniil Fedotov
ca69dff530
Handle non-list format_output in table formatter
2016-11-10 12:12:17 +00:00
Daniil Fedotov
58af1261b1
Flatten list_consumers output in table formatter
2016-11-09 18:18:32 +00:00
Daniil Fedotov
0d88314c50
It's not a map, it's a keyword list
2016-11-09 17:11:51 +00:00
Daniil Fedotov
b984a423bf
Support --local argument in list_queues
2016-11-09 17:02:05 +00:00
Daniil Fedotov
b436f52797
Proper error handling
2016-11-09 17:02:05 +00:00
Daniil Fedotov
dae427bbf9
Handle non-error outputs in wait command
2016-11-09 13:03:35 +00:00
Daniil Fedotov
9ebf876c9a
Do not require ENABLED_PLUGINS_FILE to run ctl, still print an error
2016-11-08 14:45:59 +00:00
Daniil Fedotov
4d0f9b1fb5
Load commands from plugins
2016-11-08 14:25:14 +00:00
Daniil Fedotov
b0f59ead31
Fix tests
2016-11-08 14:23:09 +00:00
Daniil Fedotov
ad90e60121
script name is overridable via argument
2016-11-08 14:21:31 +00:00
Daniil Fedotov
60fdcecdb4
Format disabled plugins
2016-11-08 14:19:11 +00:00
Daniil Fedotov
3e3d8f3f0b
Fix tests for plugins commands
2016-11-08 14:19:11 +00:00
Daniil Fedotov
b8c7360b14
Plugins enable/disable command formatter
2016-11-08 14:19:11 +00:00
Daniil Fedotov
b98470288d
List plugins formatter
2016-11-08 14:19:11 +00:00
Daniil Fedotov
4733765759
Better generic formatting. No tests for format_error
2016-11-08 10:11:07 +00:00
Michael Klishin
db194fb013
Merge branch 'master' into rabbitmq-cli-105
...
Conflicts:
test/forget_cluster_node_command_test.exs
test/rename_cluster_node_command_test.exs
2016-11-07 22:37:24 +03:00
Daniil Fedotov
837226430b
Coordinate environment with config module
2016-11-07 22:03:09 +03:00
Michael Klishin
e423453159
Add a missing clause
2016-11-07 09:45:43 -08:00
Daniil Fedotov
08e263ab2a
Vhost limits commands
2016-11-07 14:08:26 +00:00
Daniil Fedotov
85d6868763
Make table formatter look like in the old CLI
2016-11-04 12:38:35 +00:00
Daniil Fedotov
603dfd4cf0
Add optional callbacks to the command behaviour
2016-11-04 11:29:14 +00:00
Daniil Fedotov
aaabab1fe9
Enable table formatter for each list_ command
2016-11-04 11:17:02 +00:00
Daniil Fedotov
14d82eabdc
Refactor error reporting to allow commands specify formatter
2016-11-04 11:11:03 +00:00
Daniil Fedotov
3f4abba717
Command specific formatters
2016-11-03 18:10:18 +00:00
Daniil Fedotov
cb3e54d8d8
Table formatter
2016-10-31 18:07:24 +00:00
Michael Klishin
74cb3a2b53
diag, diagnostic => diagnostics
2016-10-12 01:07:40 +03:00
Daniil Fedotov
70b867e908
Naming
2016-10-07 14:57:10 +01:00
Daniil Fedotov
41f38e29f8
Make read-only commands part of the rabbitmq-diag tool
2016-10-07 14:36:54 +01:00
Michael Klishin
e1de90218c
Merge pull request #104 from rabbitmq/rabbitmq-cli-101
...
Operator policies commands
2016-09-08 15:35:56 +04:00
Daniil Fedotov
599cede1df
Convert error_string char list to string
2016-09-08 11:03:08 +01:00
Daniil Fedotov
3ac39162be
Operator policies commands
2016-09-08 11:02:21 +01:00
Daniil Fedotov
fe3e83ec50
Fixing some tests
2016-09-07 12:46:47 +01:00
Michael Klishin
4a277f1fdd
A bit of docs
2016-09-05 13:29:11 +03:00
Michael Klishin
64ee6dfaf2
Wording
2016-09-05 13:06:45 +03:00
Michael Klishin
b65d8649cd
Cosmetics
2016-09-05 12:47:59 +03:00
Michael Klishin
59a57a8d37
Merge branch 'master' into rabbitmq-cli-90
2016-09-05 12:44:18 +03:00
Daniil Fedotov
a7fe88e74c
Example json formatter. Remove IO.puts from commands
2016-08-23 14:28:07 +01:00
Daniil Fedotov
57550182e1
Specific output tests
2016-08-22 15:05:17 +01:00
Daniil Fedotov
6d2208063f
Write to file using file printer
2016-08-22 14:19:15 +01:00
Daniil Fedotov
c88eb090f3
File printer
2016-08-22 14:13:38 +01:00
Daniil Fedotov
4c13a51ac8
Reworking command outputs
2016-08-22 12:58:37 +01:00
Daniil Fedotov
616476cc66
Remove duplicate require_rabbit function
2016-08-18 17:55:29 +01:00
Daniil Fedotov
0da30bd1d1
Help command return list of strings instead of printing them\
2016-08-18 17:38:49 +01:00
Daniil Fedotov
35fc3d12cd
Default output formatting and exit code selection. Inspect printer
2016-08-18 15:35:49 +01:00
Michael Klishin
b154b998ca
Make sure rabbit_event is functional
...
It will be required as of server#500.
2016-08-18 12:09:27 +03:00
Daniil Fedotov
4b25f8ab18
Add rabbit plugins to path when requiring rabbit to be loaded
2016-08-17 17:06:15 +01:00
Andrew Bruce
19f0ba94d3
Inline default_opts
...
[#127359637 ]
2016-08-15 15:09:12 +01:00
Andrew Bruce
541ad4249c
Fix merge_defaults implementations
...
...and don't default inside run methods.
Defaults must go on left-hand-side of `Map.merge`, or they'll clobber
user-defined settings.
Remove some unnecessary pattern matching.
Issue #92
[#127359637 ]
2016-08-15 14:21:15 +01:00
Michael Klishin
4e45a52dd4
Fix an IO.puts/1 line ported from io:format/2 too literally
2016-08-14 08:37:32 +03:00