main: Formatted command code