Nitpick: Typical go style is to do an early return if possible. What you've written here is something like:

    if valid command {
        [execute command]
    } else {
        [display error message and return]
    }

However, go style would recommend you write this as

    if invalid command {
        [display error message and return]
    }
    
    [execute command]