cli: Expand functionality and add a file compiler context