--- 'astro': patch --- add support for changing mode via CLI