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
Michael Klishin
49e9cb2909
pong and pang are atoms
2016-08-14 08:16:44 +03:00
Michael Klishin
b57e8e16cc
Don't rely on rabbit_control_main; coerce node names to atoms
...
`rabbit_control_main` is going away due to the very existence of
these new CLI tools.
2016-08-12 04:46:26 +03:00
Michael Klishin
cb209d834d
Merge branch 'master' into rabbitmq-cli-rename-cluster-node-command
...
Conflicts:
lib/rabbitmqctl.ex
2016-08-12 04:36:51 +03:00
Michael Klishin
508a906bf9
Wording, add aliases to UpdateClusterNodesCommand
2016-08-12 02:34:43 +03:00
Michael Klishin
17773fcd1f
Merge branch 'master' into rabbitmq-cli-update-cluster-nodes
2016-08-12 01:56:12 +03:00
Michael Klishin
0e8ab49937
Brush up tests, support both "disc" and "disk"
...
as the current `rabbitmqctl` does.
2016-08-12 01:54:23 +03:00
Michael Klishin
0449004a6b
Merge branch 'master' into rabbitmq-cli-change-cluster-node-type
2016-08-12 01:04:01 +03:00
Michael Klishin
81ea222428
Fix CLI arguments parsing for policies, brush up tests
...
Policy commands now work on the CLI against an actual node.
2016-08-11 17:15:43 +03:00
Michael Klishin
e9ef2cff34
Merge branch 'master' into rabbitmq-cli-policies-commands
2016-08-11 13:58:11 +03:00
Michael Klishin
ad2b4627c7
Merge branch 'master' into rabbitmq-cli-9
...
Conflicts:
lib/rabbitmq/cli/ctl/parser.ex
lib/rabbitmqctl.ex
2016-08-11 11:52:54 +03:00