Nearly complete command parsing