old_contents: import test from "ava";
  import { join } from "path";
  import execa from "execa";
  
  const nts = join(__dirname, "..", "bin", "npm-template-sync");
  
  test("cli defines", async t => {
    const c = await execa(nts, [
      "-d",
      "description=a new module",
      "--list-properties"
    ]);
    t.truthy(c.stdout.match(/a new module/));
  });
  
  test("cli dryrun", async t => {
    const c = await execa(nts, ["--dry", "arlac77/config-expander"]);
  
    /*
    console.log(c.stdout);
    console.log(c.stderr);
  */
    t.is(c.code, 0);
  });
  
  test("cli list properties", async t => {
    const c = await execa(nts, ["--list-properties", "arlac77/config-expander"]);
    t.truthy(c.stdout.match(/Expands expressions in config files/));
  
    t.is(c.code, 0);
  });
  
new_contents: import test from "ava";
  import { join } from "path";
  import execa from "execa";
  
  const nts = join(__dirname, "..", "bin", "npm-template-sync");
  
  test.only("cli defines", async t => {
    const c = await execa(nts, ["-d", "test=test string", "--list-properties"]);
    t.truthy(c.stdout.match(/test string/));
  });
  
  test("cli dryrun", async t => {
    const c = await execa(nts, ["--dry", "arlac77/config-expander"]);
  
    /*
    console.log(c.stdout);
    console.log(c.stderr);
  */
    t.is(c.code, 0);
  });
  
  test("cli list properties", async t => {
    const c = await execa(nts, ["--list-properties", "arlac77/config-expander"]);
    t.truthy(c.stdout.match(/Expands expressions in config files/));
  
    t.is(c.code, 0);
  });
  
subject: use now define