Skip to content

Some examples needed for opts #4

@yafp

Description

@yafp

Hi,

i would like to play with the opts

  • since
  • lines
  • filter
  • etc

but am unsure how to use them. The readme is not really helpful at that point. For example

const journalctl = new Journalctl('since=yesterday')

or

const journalctl = new Journalctl('--since=yesterday')

is not working. It feels like guessing that this point to me. In case you could explain them i can offer to make a pull request to add those details to the readme to avoid such questions in the future ;)

Bonus question:

is there an equivalent to -b aka --boot?

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