Function brane_cli::registry::push

source ·
pub async fn push(packages: Vec<(String, Version)>) -> Result<(), RegistryError>
Expand description

Edited: the version is now optional.

Pushes the given package to the remote instance that we’re currently logged into.

Arguments

  • packages: A list with name/ID / version pairs of the packages to push.

Returns
Nothing on success, or an anyhow error on failure.