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
|`--keep-containers`| flag |`false`| Keep containers running after command exits |
26
28
|`--tty`| flag |`false`| Allocate pseudo-TTY for interactive tools |
@@ -40,10 +42,11 @@ awf [options] -- <command>
40
42
41
43
### `--allow-domains <domains>`
42
44
43
-
Comma-separated list of allowed domains. Domains automatically match all subdomains.
45
+
Comma-separated list of allowed domains. Domains automatically match all subdomains. Supports wildcard patterns.
44
46
45
47
```bash
46
48
--allow-domains github.com,npmjs.org
49
+
--allow-domains '*.github.com,api-*.example.com'
47
50
```
48
51
49
52
### `--allow-domains-file <path>`
@@ -54,6 +57,26 @@ Path to file with allowed domains. Supports comments (`#`) and one domain per li
54
57
--allow-domains-file ./allowed-domains.txt
55
58
```
56
59
60
+
### `--block-domains <domains>`
61
+
62
+
Comma-separated list of blocked domains. **Blocked domains take precedence over allowed domains**, enabling fine-grained control. Supports the same wildcard patterns as `--allow-domains`.
63
+
64
+
```bash
65
+
# Block specific subdomain while allowing parent domain
You can explicitly block specific domains using `--block-domains` and `--block-domains-file`. **Blocked domains take precedence over allowed domains**, enabling fine-grained control.
161
189
162
-
Wildcards are not needed - subdomains match automatically:
190
+
### Basic Blocklist Usage
163
191
164
192
```bash
165
-
--allow-domains '*.github.com' # ✗ syntax not supported
0 commit comments