Swift Argument Parser with Guilherme Rambo
Автор: Swift Toolkit
Загружено: 2025-01-15
Просмотров: 349
Описание:
In this video, we talk about building Command Line tools in Swift, and more specifically:
How the Swift Argument Parser can help you build them - even if you just want a simple CLI to help using and testing your packages.
Refactoring the [ocrit](https://github.com/insidegui/ocrit) tool, making it use more advanced APIs of the argument parser, and use the PathKit package to make it more type-safe.
Showing another tool, [Asset Catalog Tinkerer](https://github.com/insidegui/AssetCat..., which is a regular macOS app, but in its Xcode project it also has a command line target with similar functionality.
Rambo is an independent security researcher in the Apple ecosystem, and macOS developer, known mostly for the AirBuddy app. While working on his own tools and frameworks, he has extensively used the Argument Parser to help in their development.
Chapters:
00:00 Intro
06:58 ocrit: Background Story
10:53 ocrit: Adding PathKit
17:57 The `validate()` function
31:26 ExpressibleByArgument & custom types
45:30 The `@main` attribute
51:12 Asset Catalog Tinkerer
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: