HelmFetch extends HelmCommand<HelmFetch> implements CLI.WithCerts<HelmFetch>,
                   CLI.WithRepo<HelmFetch> { public HelmFetch untar() { return withFlags(Argument.of("--untar", true)); } HelmFetch(String... charts);   HelmFetch(String helm, Arguments arguments, Arguments flags, EnvironmentVariables env); HelmFetch development(); HelmFetch prov(); HelmFetch untar(); HelmFetch untarInto(String directory); HelmFetch untarInto(File directory); @Override HelmFetch newInstance(String helm, Arguments arguments, Arguments flags, EnvironmentVariables env);  }
@Test public void shouldAddUntarOption() { HelmFetch command = Helm.fetch("foo"); HelmFetch copy = command.untar(); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "fetch", "--untar", "true", "foo"); }