1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 10:33:53 +03:00

doc: Cleanup todo and dev a bit

This commit is contained in:
Mattias Wadman 2021-09-11 14:05:58 +02:00
parent 7423f450ef
commit 8440e8a68d
2 changed files with 4 additions and 5 deletions

View File

@ -2,7 +2,6 @@
#### CLI
- `--arg`, `--argjson` support
- `--args` support
- Reset color at prompt? context cancel
@ -11,12 +10,13 @@
- ctxstack index cancel wrong order, should just skip?
- Pager for long output. Configurable? `$PAGER`? only explicit with some kind of syntax? `.. | less` but how?
- Nicer context cancel message
- `dump` cancel output of large root value, ex: `.frames`. Problem is dump is done by parent repl.
- `dump` cancel output of large root value, ex: `.frames`. Problem is dump is done by parent repl.
- Error position "^" pointer?
- Configurable history file/name?
- Auto complete $variables
- Auto complete keys that need escaping, now just filtered out
- Auto complete add "." just one and is object
- Use JQ_COLORS but extended to allow name= also?
#### Language

View File

@ -3,8 +3,7 @@
- fq uses a gojq fork that can be found at https://github.com/wader/gojq/tree/fq (the "fq" branch)
- cli readline uses raw mode so blocks ctrl-c to become a SIGINT
- TODO: `scope` and `scopedump` functions used to implement REPL completion
- TODO: Custom object interface used to traverse fq's field tree and to allowing a terse
syntax for comparing and working with fields, accessing child fields and special properties like `_range`.
- TODO: Custom object interface used to traverse fq's field tree and to allowing a terse syntax for comparing and working with fields, accessing child fields and special properties like `_range`.
## Decoder implementation help
@ -26,7 +25,7 @@ decoder code be a bit ugly over producing a tree that is hard to understand.
Send `log` package output and stderr to a file that can be `tail -f`:ed:
```sh
LOGFILE=/tmp/log go run main.go ... 2>/tmp/log
LOGFILE=/tmp/log go run main.go ... 2>>/tmp/log
```
gojq execution debug: