|
|
@@ -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();
|