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
, 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 --dependency-file yarn.lock --type yarn demo