Commit Graph

15 Commits

Author SHA1 Message Date
fiatjaf 7c58948924 verify: better handling of stdout and verbose logging output.
fixes: https://github.com/fiatjaf/nak/issues/74
2025-07-17 16:14:36 -03:00
fiatjaf d733a31898 convert to using nostrlib. 2025-04-20 18:11:21 -03:00
fiatjaf 26930d40bc migrate to urfave/cli/v3 again now that they have flags after arguments. 2025-02-16 13:02:04 -03:00
fiatjaf fd5cd55f6f replace encoding/json with json-iterator everywhere so we get rid of HTML encoding and maybe be faster. 2024-12-03 00:43:52 -03:00
fiatjaf 38ed370c59 slightly improve verify error message. 2024-10-11 17:59:08 -03:00
fiatjaf c90e61dbec set .DisableSliceFlagSeparator to true.
fixes nostr:nevent1qqs9qwgwnr2rzguzrgt99hhhyv8e84mcdr4mnk86uvm6ndjvzl4rjxqpzpmhxue69uhkztnwdaejumr0dshsz9mhwden5te0vf5hgcm0d9hx2u3wwdhkx6tpdshszxnhwden5te0vfhhxarj9ekx2cm5w4exjene9ehx2ap0j8u0fj
2024-08-07 11:46:08 -03:00
fiatjaf 928c73513c just move imports around. 2024-07-30 11:43:14 -03:00
fiatjaf 220fe84f1b hardcode our fork of urfave/cli because go is stupid.
fixes https://github.com/fiatjaf/nak/issues/26
2024-07-23 15:23:13 -03:00
fiatjaf 316d94166e fix lineProcessingError() -- it wasn't returning a ctx so it was a noop. 2024-07-11 15:33:44 -03:00
fiatjaf dba2ed0b5f update to cli v3. 2024-06-25 22:18:26 -03:00
fiatjaf 569d38a137
accept multiple arguments in many commands, add a lot of more tests. 2024-03-19 11:34:59 -03:00
fiatjaf 347a82eaa9
verify: accept event to be verified as json argument. 2024-02-12 15:38:43 -03:00
fiatjaf 4a3c7dc825
remove extra whitespace on usage strings. 2023-11-20 15:01:53 -03:00
fiatjaf 78932833df
support running nak with multiple lines of stdin sequentially. 2023-11-07 23:43:37 -03:00
fiatjaf 7bce92f56d
nak verify 2023-11-02 08:10:29 -03:00