49 Commits (6b11cc8b8c0273202c459490fb0628e3b781431c)

Author SHA1 Message Date
Christian Decker ad2f6cdabb cli: Add a JSON parsing sanity check before sending request 4 years ago
Christian Decker b2a5cf422f jsonrpc: Forward errors on malformed requests to cli 4 years ago
Rusty Russell 41290a436f lightning-cli: print notifications (with '# ' prefix) if received. 4 years ago
Rusty Russell fb013f9d02 lightning-cli: fix handling of complex objects with -H. 4 years ago
Rusty Russell 3c625b367d doc: update cli documentation. 5 years ago
Rusty Russell abb16b4226 cli: implement new 'flattened JSON' mode. 5 years ago
Rusty Russell 679d3494b4 cli: tweak -H output to remove format-hint fields. 5 years ago
darosior 4f3e8d461e cli: make '--rpc-file' take over other config options if absolute 5 years ago
Rusty Russell aab83e729b lightningd: change config-dir from plugin / wallet / hsm POV into <network> subdir 5 years ago
Rusty Russell 8b1aa3ef8b lightningd: move basic parameter parsing into common/configdir 5 years ago
Rusty Russell 0f5036d866 cli: remove formatting hint correclty when it's not the last element. 5 years ago
Rusty Russell 69b02e287a cli: avoid use-after-realloc when we delete format hint. 5 years ago
Rusty Russell 118150227e cli: restore 0.7.0-style whitespace printing. 5 years ago
Rusty Russell 6da420a65b lightning-cli: change default printing in response to "format-hint": "simple". 5 years ago
Rusty Russell 7b1088a235 lightning-cli: clean up human_help() function. 5 years ago
Rusty Russell 7e97119117 lightning-cli: use tal_arr for toks again. 5 years ago
Rusty Russell 0b5b1faff5 common/configdir: simply supply defaults, leave parsing to programs. 5 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 5 years ago
Rusty Russell e902d9af56 cli/lightning-cli: free eveything on exit. 5 years ago
darosior b1bbafb19c cli: Sort human_readable output by categories 5 years ago
Rusty Russell 4ea1d13077 cli: handle OOM by directly streaming output. 5 years ago
Rusty Russell 77b859eaec lightning-cli: don't produce bad JSON if fields contain ". 6 years ago
Rusty Russell 5009d628a3 lightning-cli: do pretty-printing. 6 years ago
William Casarin 41468fb607 cli: source help from local docs when not installed 6 years ago
lisa neigut b2ee53fd89 lightning-cli: add jsonrpc version to cmd json packet 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell 8238fe6acf common/json: only maintain array of nested types if DEVELOPER mode. 6 years ago
William Casarin 8f405ca9a7 cli: fix human help output for the new jsonrpc help response 6 years ago
William Casarin d23a0e8adc cli: handle missing manpages gracefully 6 years ago
Corné Plooy f1df9dfa4d lightning-cli: consider empty inputs to be strings 6 years ago
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 6 years ago
Rusty Russell 337075dc8c tal: don't access low-level tal functions. 6 years ago
William Casarin a9cf73380a cli: launch a manpage when help is passed an argument 6 years ago
William Casarin a88ab1634f cli: add manpage hint at the end of human help output 6 years ago
Rusty Russell 666e1b320f lightningd: fix double-specified args. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
Mark Beckwith 38e94e883f Improved display of lightning-cli help for humans 7 years ago
ZmnSCPxj cabeef2d88 lightning-cli: Be more discerning about literals. 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell 8be1c1df32 Updates for changed external/jsmn API change. 7 years ago
Rusty Russell c3bd78433f lightning-cli: keyword mode. 7 years ago
Rusty Russell 7d18ef9ecf lightning-cli: human-readable printing for help. 7 years ago
practicalswift 2c17546cbd Onboarding: Make "lightning-cli" (without arguments) output the equivalent of "lightning-cli --help; lightning-cli help" 7 years ago
ZmnSCPxj 940819567d lightning-cli: Add support for null argument. 7 years ago
Rusty Russell 1bd40a8da6 lightning-cli: make valgrind happy by freeing opt table. 7 years ago
Rusty Russell aa34ad30d9 lighting-cli: do incremental parsing. 7 years ago
renepickhardt 69260adb38 quickfixing issue #662 to make CLI more userfriendly for inexperienced users (#663) 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell c2d71497ff opt, utils: new arg for wrappers due to low-level tal change. 8 years ago