gothctl is a CLI control system designed for managing the goth microservice. It provides tools to start the server and manage users directly from the command line.
Please refer to INSTALLATION.md for detailed installation and building instructions.
gothctl looks for a configuration file named .gothctl.yaml in your home directory or the current working directory. You can also use a .env file for environment variables.
(rename it to gothctl.yaml)
server:
port: "8000"
database:
uri: "mongodb://localhost:27017"Environment variables are prefixed with GOTH_. For example:
GOTH_SERVER_PORT=8080GOTH_DATABASE_URI=mongodb://localhost:27017
For development, you can run the commands directly using go run:
go run main.go servego run main.go user createPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.