@Override
  public void execute(final List<String> args, final PrintWriter terminal) {
    CliCmdUtil.ensureArgCountBounds(args, 1, 1, HELP);

    final String filePath = args.get(0);
    final String content = loadScript(filePath);
    requestExecutor.makeKsqlRequest(content);
  }
@Test
  public void shouldThrowIfTooManyArgsSupplied() {
    // When:
    final Exception e = assertThrows(
        KsqlException.class,
        () -> cmd.execute(ImmutableList.of("too", "many"), terminal)
    );

    // Then:
    assertThat(e.getMessage(), containsString(
        "Too many parameters"));
  }