Build a Command Line Utility

Опубликовано: 07 Ноябрь 2024
на канале: 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


Смотрите видео Build a Command Line Utility онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Deno 07 Ноябрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,912 раз и оно понравилось 267 людям.