Behold! The Happy Path To Captivate Your Users With Stunning CLI Apps! by Jorge Vasquez

preview_player
Показать описание
"Behold! The Happy Path To Captivate Your Users With Stunning CLI Apps!" by Jorge Vasquez at Functional Scala 2022.

As developers, we often have to create command-line applications, which expose APIs, workflows, or data processing functionality in a way that is accessible to scripts and non-developers. Although a simple command-line application can be created by only using Array[String], such applications lack features that users take for granted, including flexible subcommands, options, arguments, validations, and documentation pages.

In this presentation, Jorge Vásquez shows you how to easily build beautiful command-line applications that your users will love. Using ZIO CLI, your command-line applications will support all types of command-line parameters, perform both Pure and Impure validation, generate beautiful short and long documentation pages, and support auto-correction plus auto-completion.

Discover how you can have fun creating beautiful command-line apps that delight your users!

Contents in the video:

01:12: Why CLI Apps?
01:58 Problem: Implementing Production-Grade CLI Apps
02:43 Handling Parameters
07:02 Inputs Validation
09:00 Documentation
10:38 Presenting ZIO CLI
11:34 ZIO CLI Walkthrough
12:23 Create the CLI Application Entrypoint
13:17 Define a Pure Data Structure That Models Inputs To All Possible Subcommands
15:13 Define Subcommands themselves
24:49 Create a CLIApp That Assigns. Subcommands to Handlers
27:26 Executing The Root Command With No Options/Arguments
29:12 Executing a Subcommand With Missing Args
30:42 Grouping Several Flags Together
32:30 Shell-Integrated Autocompletion
33:28 Wizard Mode For The Root Command
34:14 Comparing ZIO CLI To Other Libraries

Grab Your Early Bird Tickets for the Functional Scala 2023! ➡️

#FunScala2022 #scala #zio #functionalprogramming #functionalscala #scalaconference #scaladeveloper
Рекомендации по теме
Комментарии
Автор

as always, a super clear explanation!

chimbonda
Автор

Why isn't there a gihub repo linked to this video?

mankoxyz
Автор

actually sounds very ironic about documentation part, cuz zio-cli has not got any kind of documentation

serufim