CLI Commands
With protop installed, you can use the command-line interface to build your projects. Running protop
without any arguments is synonymous with running the help
subcommand.
$ protop _ ___ ___ ___| |_ ___ ___| . | _| . | _| . | . || _|_| |___|_| |___| _||_| |_|Usage: protop [-dv] [COMMAND]... -d, --debug Turn on debug logs. -v, --revision Print the current revision of protop.Commands:...
help
Displays help information about the specified command.
Usage
protop help
init
Initialize a protop project (generates a protop.json).
Usage
protop init [<projectPath>]
link
Link a local project.
Usage
protop link [<directory>]
unlink
Unlink a local project.
Usage
protop unlink
links
Manipulate the system-wide linked projects.
Usage
protop links [COMMAND]
Subcommands
Clean
Unlink all currently linked projects.
Usage
protop links clean
List
List all currently linked projects.
Usage
protop links list
sync
Sync project dependencies.
Usage
protop sync [-g[=<refreshGitSources>]] [-l[=<includeLinkedDependencies>]] [-r[=<registry>]]
cache
Manipulate the system-wide cache.
Usage
protop cache [COMMAND]
Subcommands
Clean
Delete everything from the cache.
Usage
protop cache clean