phylum init

Setup a new Phylum project

Usage: phylum init [OPTIONS] [PROJECT_NAME]

Arguments

[PROJECT_NAME]
Phylum project name

Options

-g, --group <GROUP_NAME>
Group which will be the owner of the project

-l, --lockfile <LOCKFILE>
Project-relative lockfile path

-t, --lockfile-type <TYPE>
Lockfile type used for all lockfiles (default: auto)
Accepted values: npm, yarn, pnpm, gem, pip, poetry, pipenv, mvn, gradle, nugetlock, msbuild, go, cargo, spdx, cyclonedx, auto

-f, --force
Overwrite existing configurations without confirmation

-r, --repository-url <REPOSITORY_URL>
Repository URL of the project

-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

Examples

# Interactively initialize the Phylum project.
$ phylum init

# Create the `demo` project with a yarn lockfile and no associated group.
$ phylum init --lockfile yarn.lock --lockfile-type yarn demo