_astra_live()
{
    local cur prev opts
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"
    prev="${COMP_WORDS[COMP_CWORD-1]}"
    opts="build-environment build-bootstrap build-chroot build-live build-boot build-image"

    if [[ ${cur} == * ]]
    then
        COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
    fi

    return 0
}
complete -F _astra_live astra-live