Building CLI Tools in Swift
summary
The talk explains building development and CI command-line tools using Swift instead of scripting languages. It describes problems with script-based tools (onboarding, using Apple libraries, creating complex tools) and shows how Auto.ru migrated to Swift, covering use of SwiftPM API, SwiftSyntax, and third-party Swift CLI libraries.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:07Speaker background
- 2:12CLI purpose
- 4:10Swift for CLI
- 6:00Swift Argument Parser
- 7:49Project structure
- 9:16Swift static analysis
- 13:14Logs with XCBeauty
- 16:27Logging with Swift Log
- 17:55CLI build nuances
- 20:50State and parameters
- 23:23iOS build commands
- 24:49Summary and examples
- 25:53Q&A
related talks
30mBuilding Swift Command Line Tools
24mSwift Scripts: Zero to Hero
23mBuilding Bitrise Automations With Swift
45mTooling in Swift - Xcode Integration & CI
25mBuilding with SwiftPM
01h 03mSwift Tools for Software Crafting 2024
44mSwift Packages - Dependency Management of the Future
25mCLI-Driven Developer Experience: The Secret Ingredient of an Aligned Team
