INNER CODE UNIT · JavaScript

showVersion

NerdLang/nerd · nerd.js:580

var showVersion = function()
{
  console.log("Nerd v" + VERSION);
}

var Check = function(file)
{
  if(file.split(".").pop() != "js") return;

  if(global.CLI.cli["--check"]) process.exit();
}

var Help = function()
{
  showVersion();
  console.log("\n[*] Compile :\nnerd [--env std|node|arduino|wasm|android] [--target the-target] [--run] [--reg 1000] [--preset speed|size] [-o output] [--tips] [--flash device] source.js|project.json\n");
  console.log("[*] Show project :\nnerd [--project] [project.json]\n");
  console.log("[*] Clean project :\nnerd [--clean] [--purge] [path_to_project.json]\n");

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…