Yasuhiro Matsumoto
3fa1e2267e
curl: fix completely broken command, it lost its key flags when they moved to the root command (which realCurl bypasses) and Run was eating the first flag as the program name.
2026-07-15 10:38:26 +09:00
fiatjaf
0c8e643609
key and auth flags on root command.
2026-06-11 17:49:20 -03:00
Yasuhiro Matsumoto
67920ccbdd
fix: prevent out-of-bounds panic in curl flag parsing
...
When a flag expecting a value (e.g. --sec) is the last argument,
the code incremented the index without checking if the next
argument exists, causing a potential panic on os.Args access.
2026-03-30 13:43:08 +09:00
fiatjaf
d733a31898
convert to using nostrlib.
2025-04-20 18:11:21 -03:00
fiatjaf
c60bb82be8
small fixes on dvm flags and stuff.
2025-03-06 08:06:27 -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
d00976a669
curl: assume POST when there is data and no method is specified.
2025-02-05 10:39:30 -03:00
fiatjaf
4392293ed6
curl method and negative make fixes.
2025-02-05 10:22:04 -03:00
fiatjaf
6c634d8081
nak curl
2025-02-04 23:20:35 -03:00