Function brane_cli::instance::select

source ·
pub fn select(name: String) -> Result<(), Error>
Expand description

Changes the active instance to the current one.

§Arguments

  • name: The name of the instance to make active.

§Errors

This function will error if we failed to read the directory (including if the instance does not exist), or if we failed to update the active instance file.