Update Flags

Internet Addict 2025-02-21 19:30:56 +00:00
parent c2207a9a09
commit 9f62330411

@ -1,19 +1,24 @@
# Flags # Flags
The following flags can be used when running QGato. They override any corresponding variables set in the `config.ini` file. The following flags can be used when running QGato. They override any corresponding variables set in the `config.ini` file.
--- ---
### Available Flags ### Available Flags
- **`--port`** - **`--port`**
Sets the port for the application. Sets the port for the application.
Example: `go rum . --port 8080` Example: `go run . --port 8080`
- **`--domain`** - **`--domain`**
Sets the domain address for the application. Sets the domain address for the application.
Example: `go rum . --domain example.com` Example: `go run . --domain example.com`
- **`--skip-config-check`** - **`--skip-config-check`**
Skips validation of `config.ini`. Skips validation of `config.ini`.
Example: `go rum . --skip-config-check` Example: `go run . --skip-config-check`
- **`--config`**
Specifies a custom configuration file path, overriding the default `./config.ini`.
Example: `go run . --config /path/to/custom/config.ini`