#!/bin/bash

# Install Commands Handler
# Handles all install subcommands by calling core functions

cliHandleInstallCommands()
{
    local install_type="$initial_command2"

    if [[ -z "$install_type" ]]; then
        install_via_cli="true"
        startLoad;
    elif [ "$install_type" = "unattended" ]; then
        install_via_cli="true"
        startLoad unattended;
    else
        isNotice "Invalid install command: ${RED}$install_type${NC}"
        cliShowInstallHelp;
    fi
}
