Skip to content

Latest commit

 

History

History

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
function readme(version: string) {
  Deno.readTextFile("./cli/tmpl.txt").then((txt) =>
    console.info(txt.replaceAll("{{version}}", version))
  );
}

const decoder = new TextDecoder("utf-8");
const data = await Deno.readFile("./version.json");
const { version } = JSON.parse(decoder.decode(data));

readme(version);