lstn CLI
lstn to

lstn to

This command scans a specific package and a range of its versions.

Query listen.dev for the verdicts of a package. 

Using this command, you can audit a single package version or all the versions of a package and obtain their verdicts.

Specifying the package name is mandatory.

The verdicts it returns are listed by the shasum of each version belonging to that package name.
If you're a hairsplitting person, you can also query for the verdicts specific to a package version's shasum.

Usage:
  lstn to <name> [version] [shasum]

Examples:
  lstn to chalk
  lstn to debug 4.3.4

Flags:
  -h, --help        help for to
  -q, --jq string   filter the output using a jq expression
      --json        output the verdicts (if any) in JSON form

Global Flags:
      --config string     config file (default is $HOME/.lstn.yaml)
      --endpoint string   the listen.dev endpoint emitting the verdicts (default "http://127.0.0.1:3000")
      --loglevel string   log level (default "info")
      --timeout int       timeout in seconds (default 60)