Skip to content
This repository was archived by the owner on Nov 26, 2023. It is now read-only.
This repository was archived by the owner on Nov 26, 2023. It is now read-only.

[Feature] print instruction for using jiq when no stdin is piped in #18

@aesyondu

Description

@aesyondu

What if when one launches jiq without receiving anything from stdin, it would print an instruction that it expects a json structure, and finally Ctrl+D to terminate the json string?

$ jiq
Enter a json formatted string, press Enter and Ctrl+D to continue:
[1,2,3]
^D

[Filter]> .
[
  1,
  2,
  3
]

What say you?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions