@Test
@Parameters({

    "--plain workflow ls",
    "workflow --plain ls",
    "workflow ls --plain",
})
public void testPlainOptionIsGlobal(final String argLine) {
  when(client.workflows()).thenReturn(CompletableFuture.completedFuture(Collections.emptyList()));
  CliMain.run(cliContext, argLine.split(" "));
  verify(cliContext).output(Output.PLAIN);
}