cli accepts -with PATTERN to filter transactions by all attendees
cicd / ci (push) Successful in 1m31s
Details
cicd / ci (push) Successful in 1m31s
Details
parent
dd20f066a3
commit
266af7353a
|
|
@ -87,6 +87,10 @@ func Main() {
|
|||
deltas = ana.NewDefaultNormalizer().Normalize(deltas)
|
||||
}
|
||||
|
||||
if config.Query.With != "" {
|
||||
deltas = deltas.Like(ledger.LikeWith(config.Query.With))
|
||||
}
|
||||
|
||||
switch cmd[:3] {
|
||||
case "bal":
|
||||
balances := deltas.Balances().
|
||||
|
|
|
|||
|
|
@ -71,10 +71,6 @@ func buildQuery(config Config, args args) (ledger.Like, error) {
|
|||
}
|
||||
}
|
||||
|
||||
if config.Query.With != "" {
|
||||
like = andLike(like, ledger.LikeWith(config.Query.With))
|
||||
}
|
||||
|
||||
return like, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue