The CLI version of avance. Not finished yet.