mkasberg / script-seed

🌱 Seed scripts for popular (& unpopular) scripting languages.
https://mkasberg.github.io/script-seed/
MIT License
11 stars 23 forks source link

Add a Deno Script Seed #59

Closed mkasberg closed 3 years ago

mkasberg commented 3 years ago

Add a Deno "seed" script to the seeds folder. Basically, this would be an executable Deno file (with #!/usr/bin/env -S deno run --allow-net or similar) that parses some simple command-line arguments (like -h or -t, see other scripts as examples) and prints a sentence or two to the command line. It's intended to demonstrate how to parse command line arguments and print something to the console in Deno.

We should use a library like Commander to parse the args: https://deno.land/x/cmd@v1.2.0

See CONTRIBUTING.md, and feel free to ask for help or clarification here.

As a rough example, see #26.

vigneshrajj commented 3 years ago

Please let me take this issue.

mkasberg commented 3 years ago

Fixed by #65