Skip to content

Commit 4b2751e

Browse files
authored
Filter syntax
1 parent dd0d432 commit 4b2751e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mine/spacerace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Filter = "false"
9797
Filter = "true"
9898
9999
## Only accept deals from the 3 competition dealbots
100-
Filter = "jq -e '.Proposal.Client == \"t12thv7e3x3tomo5nuunsvzqnl5txflpztdqcbtai\" || .Proposal.Client == \"t1capnpwjvm4gfbdlbavblmvjldwqzdo6ukh7mmq\" || .Proposal.Client == \"t12heuwfbg654jgdnctywyafxrqbmcidwj6osecha\" '"
100+
Filter = "jq -e '.Proposal.Client == \"t1capnpwjvm4gfbdlbavblmvjldwqzdo6ukh7mmq\" or .Proposal.Client == \"t12thv7e3x3tomo5nuunsvzqnl5txflpztdqcbtai\" or .Proposal.Client == \"t12heuwfbg654jgdnctywyafxrqbmcidwj6osecha\" '"
101101
```
102102

103103
You can also write advanced deal filters based on any field in deal info (for example, you may wish to accept only `VerifiedClient` deals). Deal info is piped into `stdin` as JSON.

0 commit comments

Comments
 (0)