Using the CLI

Check the daemon and run your first observation.

Check the daemon (the first command starts it if it isn't running — see the previous step):

jawb status
daemon: ok (jawbd 0.1.1, api 15)

Open a page and read it:

$ jawb open https://example.com
t_bexe91  Example Domain  https://example.com/  (3 elements)
  navigated -> https://example.com/ (3 elements; run `jawb observe` for the page)
rev 0 → 1 (native, 629ms)

$ jawb observe --tab t_bexe91
Example Domain  https://example.com/  (rev 1, 2 of 3 elements)
  [1] heading(1) "Example Domain"
  [3] link "Learn more" -> https://iana.org/domains/example
rev 1 → 1 (native, 60ms)

$ jawb read --tab t_bexe91
# Example Domain

This domain is for use in documentation examples without needing permission. Avoid use in operations.

[Learn more](https://iana.org/domains/example)
-- 168 bytes of md from 559 bytes of HTML (body, rev 1, native, 0ms)

open returns a tab ID and makes that tab the session's current tab. Later commands act on the current tab, or on another one with --tab <id>; the daemon (not the CLI process) holds the tab. Built from source, run cargo run -- <command> in jawb-cli instead of jawb <command>.

Full command details: CLI reference.