Function brane_cli::utils::assert_valid_bakery_name

source ยท
pub fn assert_valid_bakery_name(name: &str) -> Result<(), UtilError>
Expand description

Checks whether the given string is a valid name for Bakery.

Arguments

  • name: The name to check.

Returns
Nothing if the name is valid, or a UtilError otherwise.