cli: flesh out the 'serve' subcommand