Function perseus_cli::deploy
source · [−]pub fn deploy(dir: PathBuf, opts: DeployOpts) -> Result<i32, Error>Expand description
Deploys the user’s app to the pkg/ directory (can be changed with
-o/--output). This will build everything for release and then put it all
together in one folder that can be conveniently uploaded to a server, file
host, etc. This can return any kind of error because deploying involves
working with other subcommands.