Public
Script
Readme

Example Cli Val

Usage

deno run --allow-all --reload=https://esm.town/v https://esm.town/v/pomdtr/cli_example Steve Hey Steve!

Install

deno install --allow-all --reload=https://esm.town/v https://esm.town/v/pomdtr/cli_example cli_example Steve Hey Steve!
1
2
3
4
5
6
7
8
9
if (Deno.args.length == 0) {
console.error("<name> arg is required!");
Deno.exit(1);
}
console.log(`Hey ${Deno.args[0]}!`);
// #cli
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
December 29, 2023