You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The invite token is generated from the central server's **Settings > Runners** page. Copy the install command and run it — it works on Windows, macOS, and Linux.
113
+
114
+
On first run, the `--team` and `--token` values are **automatically saved** to `~/.funny/.env`, so subsequent runs only need:
115
+
116
+
```bash
117
+
funny
110
118
```
111
119
112
120
This starts the full funny app locally (UI, git, agents) **and** connects to the central server to:
@@ -147,6 +155,7 @@ Team member A Team member B
147
155
|`-h, --host <host>`| Server host |`127.0.0.1`|
148
156
|`--auth-mode <mode>`| Authentication mode: `local` or `multi`|`local`|
149
157
|`--team <url>`| Connect to a central team server | - |
158
+
|`--token <token>`| Runner invite token for team registration | - |
150
159
|`--help`| Show help message | - |
151
160
152
161
**funny-server** (team coordination server)
@@ -157,6 +166,22 @@ Team member A Team member B
157
166
|`-h, --host <host>`| Server host |`0.0.0.0`|
158
167
|`--help`| Show help message | - |
159
168
169
+
### Persistent Configuration
170
+
171
+
When you pass `--team` or `--token` via the CLI, the values are automatically saved to `~/.funny/.env`. On subsequent runs, funny loads this file so you don't need to repeat the flags.
To change the server, simply pass `--team` again with a new URL — the saved config is updated automatically. The `.env` file is created with restricted permissions (`0600`) since it contains tokens.
0 commit comments