phylum parse

Parse lock files and output their packages as JSON

Usage: phylum parse [OPTIONS] [LOCKFILE]...


The package lock files to submit


-t, --lockfile-type
Lock file type used for all lock files (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


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

# Parse the `Cargo.lock` and `lockfile` files as cargo lockfiles
$ phylum parse --lockfile-type cargo Cargo.lock lockfile