New option sync | async for command invoke

async is not yet implemented