# komrad forge

Connect komrad to the services pull requests live on

[komrad](https://komrad.dev/latest/cli.md)

```bash
komrad forge
```

Komrad reads the pull requests its agents open through a connection to each forge, made once and kept until it is disconnected. The server holds the connection: a token lives in a file under its state directory that only its user can read, and the row in its database records who the forge said the credential belongs to. Every command here talks to the server, so with --engine it connects the engine.

## Commands

-   [`komrad forge check`](https://komrad.dev/latest/cli/forge/check.md)
    
    Ask every connected forge whether its credential still works
    
-   [`komrad forge connect`](https://komrad.dev/latest/cli/forge/connect.md)
    
    Connect a forge with a token read from stdin, or as the engine's GitHub App
    
-   [`komrad forge disconnect`](https://komrad.dev/latest/cli/forge/disconnect.md)
    
    Forget a forge and the token it was connected with
    
-   [`komrad forge list`](https://komrad.dev/latest/cli/forge/list.md)
    
    Show every connected forge and who komrad acts as there
    

## Inherited flags

| Flag | Type | Description |
| --- | --- | --- |
| [`--config`](https://komrad.dev/latest/cli/forge.md#inherited-config) | stringArray | path to a config TOML, repeatable, later files win over earlier ones |
| [`--engine`](https://komrad.dev/latest/cli/forge.md#inherited-engine) | string | engine to reach: local for this machine, or a file in the config's engines directory, layered over the config |
