Skip to main content

HISTORY_EXAMPLES

Constant HISTORY_EXAMPLES 

Source
pub const HISTORY_EXAMPLES: &str = "EXAMPLES:
  devp history                    Every pass, one line each, newest first
  devp history --all              Past the 20 the list stops at
  devp history --pass 1           What the most recent pass deleted, and what asked it to
  devp history --pass 3 --json    That pass as one JSON document
  devp history --export           Write the whole log to your documents folder
  devp history --export ./log.json
                                  Write it where you say instead
  devp history --json | jq '[.passes[] | select(.trigger == \"scheduled\")]'
                                  Only the passes nobody typed

Run interactively with a terminal, `--json` also copies the document to the clipboard.";