Skip to main content

name_execution

Function name_execution 

Source
pub fn name_execution(
    store: Option<&ExecutionStore>,
    identifier: &str,
    name: &str,
    rename: bool,
) -> Result<String, String>
Expand description

Add a name to an execution ($ --alias <id> <name>) or rename it ($ --rename <id> <name>, which keeps the previous display name as an alias). The backend session/container keeps its name; only lookup and the displayed name change. Returns the output to print, or the error.