Build a Command Line Utility

Published: 07 November 2024
on channel: Deno
4,912
267

Learn to build a command line tool using Deno's standard library. You'll explore how to parse arguments, handle flags, and provide helpful messages using utility functions. Follow along as we build a ski resort information app, handle errors gracefully, and compile the script into an executable for multiple platforms, including Windows, MacOS, and Linux. By the end of this video, you'll understand how to take full advantage of Deno's features to develop and distribute your own CLI tools.

00:00 Introduction to Deno's Standard Library
00:22 Setting Up the Command Line Tool
00:57 Installing and Using Standard Libraries
02:05 Building the Ski Resort Information App
03:17 Handling Command Line Arguments
05:06 Improving Error Handling
06:28 Adding Help and Color Output
08:24 Compiling the Tool for Different Platforms

https://github.com/MoonHighway/deno-2...

Deno is an all-in-one batteries included JavaScript and TypeScript toolchain.

Website: https://deno.com
GitHub: https://github.com/denoland
Discord:   / discord  
Twitter: https:/twitter.com/deno_land


Watch video Build a Command Line Utility online without registration, duration hours minute second in high quality. This video was added by user Deno 07 November 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,912 once and liked it 267 people.