Rust Command Line Argument Parsing (A Better Way With Clap)

Описание к видео Rust Command Line Argument Parsing (A Better Way With Clap)

A quick tutorial on a better way to parse command line arguments in Rust, using Clap.

00:00 Introduction
00:39 Without Clap
01:10 Clap Overview
01:36 Parser
02:18 main.rs
02:40 Testing A Simpler Parser
02:48 A More Complex Parser
04:47 Testing A Parser With Subcommands
05:11 Reading Values From The Parser

---
Stuff I use to make these videos - I absolutely love all of these products. Using these links is an easy way to support the channel, thank you so much if you do so!!!

Camera: Canon EOS R5 https://amzn.to/3CCrxzl
Monitor: Dell U4914DW 49in https://amzn.to/3MJV1jx
Lens: Sigma 24mm f/1.4 DG HSM Art for Canon EF https://amzn.to/3hZ10mz
SSD for Video Editing: VectoTech Rapid 8TB https://amzn.to/3hXz9TM
Microphone: Rode NT1-A https://amzn.to/3vWM4gL
Microphone Interface: Focusrite Clarett+ 2Pre https://amzn.to/3J5dy7S
Tripod: JOBY GorillaPod 5K https://amzn.to/3JaPxMA
Keyboard: Redragon Mechanical Gaming Keyboard https://amzn.to/3I1A7ZD
Mouse: Razer DeathAdder https://amzn.to/3J9fYCf
Computer: 2021 Macbook Pro https://amzn.to/3J7FXtW

Caffeine: High Brew Cold Brew Coffee https://amzn.to/3hXyx0q
More Caffeine: Monster Energy Juice, Pipeline Punch https://amzn.to/3Czmfox

Комментарии

Информация по комментариям в разработке