CLI
Hidden Gems in the Swift Argument Parser - Part II
2025-09-19

Explore manual pages, DocC generation, and JSON dump features
Hidden Gems in the Swift Argument Parser - Part I
2025-08-15

Discover lesser-known features: shell completion scripts and improving completion suggestions
Techniques for Engaging CLIs with the Terminal Utilities Package
2025-07-09

A tiny Swift package can help you make more engaging CLIs
Reading Piped Input in Swift Executables
2025-05-23

How to detect and read piped input in Swift, with async/await support
Let's Build: PrettyPrint, a Better CLI Output
2025-05-16

Writing a more customizable version of Swift's dump
Sake 🍶: Swift-powered Command Management - Part II
2025-04-24

Dive deeper into Sake with more complex commands and GitHub Actions integration
Sake 🍶: Swift-powered Command Management - Part I
2025-04-16

Write your project's tasks in Swift, and run them with Sake
Generating Analytics Code with Mustache
2025-01-24

Generate statically-typed code in Swift (and Kotlin), by using Mustache templates in a CLI tool
[Video] Swift Argument Parser with Guilherme Rambo
2025-01-15

Insights on building a CLI for your own packages, and a hands-on example with the argument parser
A Different Approach Using the Swift Argument Parser
2024-10-25

Take control over the standard way to allow styled output and personalized workflows
Understanding Colors and Styles in Terminal Output
2024-09-16

Make your tool communicate better visually, using colors and styles
Running System Processes with Command
2024-08-26

A package that helps calling running commands with AsyncStream support
Using SwiftUI in Command Line Tools
2024-07-11

You can take advantage of SwiftUI even in your command line tools
Command Line in Swift: the Different Alternatives
2024-07-02

Comparing the choices available for building with Swift for the command line
The XcodeProj Package
2024-05-09

Building a small utility to get information on your Xcode projects
The Interactive Swift Argument Parser Guide - Part III: Options, Validation & Exiting
2024-05-02

The third and final part on this series, covering options, option groups, validation, and exiting.
The Interactive Swift Argument Parser Guide - Part II: Flags
2024-04-23

The continuation of the argument parser guide, exploring flags and friends
The Interactive Swift Argument Parser Guide - Part I: Basics & Arguments
2024-03-21

The first part of a practical and interactive series to learn the full power of the argument parser, covering basics and and arguments
Swift, Xcode, the Swift Package Manager, iOS, macOS, watchOS and Mac are trademarks of Apple Inc., registered in the U.S. and other countries.

© Swift Toolkit, 2024-2025