phylum parse

Parse a lockfile and output its packages as JSON

Usage: phylum parse [OPTIONS] [LOCKFILE]

Arguments

[LOCKFILE]
The package lock file to submit.

Options

-t, --lockfile-type
The type of the lock file (default: auto)
Accepted values: yarn, npm, gem, pip, pipenv, poetry, mvn, gradle, nuget, go, cargo, auto

-v, --verbose...
Increase the level of verbosity (the maximum is -vvv)

-q, --quiet...
Reduce the level of verbosity (the maximum is -qq)

-h, --help
Print help information

Examples

# Parse a lockfile
$ phylum parse -t npm package-lock.json