Split command completion out into a separate function, working towards IRQ based completion.
Split command completion out into a separate function, working towards
IRQ based completion.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars