Rm emqx_ctl set|show cmds
This commit is contained in:
parent
03f607c1b2
commit
475f2a87c6
|
@ -54,14 +54,14 @@ run_command([Cmd | Args]) ->
|
|||
run_command(list_to_atom(Cmd), Args).
|
||||
|
||||
-spec(run_command(cmd(), [string()]) -> ok | {error, term()}).
|
||||
run_command(set, []) ->
|
||||
emqx_mgmt_cli_cfg:set_usage(), ok;
|
||||
% run_command(set, []) ->
|
||||
% emqx_mgmt_cli_cfg:set_usage(), ok;
|
||||
|
||||
run_command(set, Args) ->
|
||||
emqx_mgmt_cli_cfg:run(["config" | Args]), ok;
|
||||
% run_command(set, Args) ->
|
||||
% emqx_mgmt_cli_cfg:run(["config" | Args]), ok;
|
||||
|
||||
run_command(show, Args) ->
|
||||
emqx_mgmt_cli_cfg:run(["config" | Args]), ok;
|
||||
% run_command(show, Args) ->
|
||||
% emqx_mgmt_cli_cfg:run(["config" | Args]), ok;
|
||||
|
||||
run_command(help, []) ->
|
||||
usage();
|
||||
|
|
Loading…
Reference in New Issue