1, its a convention for *nix CLI application to reuse the enviroment $EDITOR or $PAGER, which point to a specific user prefered cli editor to handle input and display thing
2, for user input, now we had a filter input that could accept user's input for filtering in the selected collection, and show the result
but the editing UI is just plain text input, its obviously that if $EDITOR were supported, user could use any CLI editor they prefered, like vim/emacs/helix, so they got syntax highlighting , format check and many other features that help the input
3, for viewing the data value of a document, currently its also just plain text view like a simply less command, but actually if $PAGER were supported, user could also use vim/emacs/helix to got many feature they like to improve the viewing experiences
like jump to specific line, skip a whole member of a group. etc
1, its a convention for *nix CLI application to reuse the enviroment $EDITOR or $PAGER, which point to a specific user prefered cli editor to handle input and display thing
2, for user input, now we had a filter input that could accept user's input for filtering in the selected collection, and show the result
but the editing UI is just plain text input, its obviously that if $EDITOR were supported, user could use any CLI editor they prefered, like vim/emacs/helix, so they got syntax highlighting , format check and many other features that help the input
3, for viewing the data value of a document, currently its also just plain text view like a simply
lesscommand, but actually if $PAGER were supported, user could also use vim/emacs/helix to got many feature they like to improve the viewing experienceslike jump to specific line, skip a whole member of a group. etc