You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/02/03 14:20:17 UTC
[GitHub] [apisix-dashboard] imjoey commented on issue #1406: ManagerAPI should support -c to set the config file.
imjoey commented on issue #1406:
URL: https://github.com/apache/apisix-dashboard/issues/1406#issuecomment-772544956
> Can you guide me on how can i interact with the cli?
Hi @vinayaksh42 , the command `go run ./cmd/manager` under `./api` directory would start the manager-api locally. If additional flag `-h` is specified, it will provide with more detailed usage on the `manager-api` command. Please see the following example.
```
➜ api git:(master) go run ./cmd/manager
The manager-api is running successfully!
Version :
GitHash :
Listen : 127.0.0.1:9000
Loglevel: warn
Logfile : /Users/imjoey/Work/apache-apisix/apisix-dashboard/api/logs/error.log
```
```
➜ api git:(master) go run ./cmd/manager -h
APISIX Manager API
Usage:
manager-api [flags]
manager-api [command]
Available Commands:
help Help about any command
stop
Flags:
-h, --help help for manager-api
-p, --work-dir string current work directory (default ".")
Use "manager-api [command] --help" for more information about a command.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org