mirror of
https://github.com/fiatjaf/nak.git
synced 2026-06-04 09:41:24 +02:00
print event in 'validate' and 'filter', apply jq on 'filter' and 'req' with gojq.
This commit is contained in:
@@ -55,6 +55,8 @@ nak event -k 1 -p not_a_pubkey | nak validate
|
||||
return fmt.Errorf("schema validation failed: %w", err)
|
||||
}
|
||||
|
||||
stdout(evt)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user