Skip to content

Add --watch [seconds/live] support to cli #79

@sondove

Description

@sondove

Sometimes you want to keep an eye of a novem chart, file or log and a common way to do this is to wrap novem in the watch command or a for loop.

However, we could make it both prettier and faster if we handle the drawing natively (no need to clear the screen) and that would also reduce possible tool dependenices.

Finally, novem offers update over web-socket and a native watch function could refresh on demand instead of wasting lots of requests updating a stale plot.

Suggested functionality

--watch [seconds/live]

where seconds is a float of seconds to wait before refreshing (so 0.5 would be half a second, or refreshing twice a second (2hz)) and live would be a key word for connecting to the websocket, keeping a live connection and refreshing on new messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliissue relates to the novem clienhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions