[−][src]Function client_backend::publish_package
pub fn publish_package(path: Option<PathBuf>) -> Result<String, ErrorKind>
Publishes a given package path (must be package root & a valid package tree) to the Please Package Manager API.
If a path
PathBuf is not provided in Option<PathBuf> is not
provided, it will try to validate the directory the program is running from.
If it cannot find this file, it will return a special error message.
NOTE: This function is a frontend and will therefore display a formatted answer; no matter what.