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
-d, --dependency-file <DEPENDENCY_FILE>
β Project-relative dependency file path
-t, --type <TYPE>
β Dependency file type used for all lockfiles (default: auto)
β Accepted values: npm, yarn, pnpm, gem, pip, poetry, pipenv, mvn, gradle, msbuild, nugetlock, nugetconfig, gomod, go, cargo, spdx, cyclonedx, auto
-f, --force
β Overwrite existing configurations without confirmation
-r, --repository-url <REPOSITORY_URL>
β Repository URL of the project
-o, --org <ORG>
β Phylum organization
-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 --dependency-file yarn.lock --type yarn demo
# Create the `demo` project in the `sample` group of the `test` organization.
$ phylum init --org test --group sample demo