Commander banner
steipete steipete

Commander

Development community

Description

A Swifty take on Commander.js and alternative to Swift's ArgumentParser.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Commander 🎛️ — Swift-first parsing, zero forks

Commander overview

Swift 6.2+ Platforms CI Status MIT License

**Swift-first parsing. Total command over your CLI.**
**One signature. Infinite tooling.**
**All the ergonomics, none of the forks.**

Commander is Peekaboo's Swift-native command-line framework. It combines declarative property wrappers, a lightweight parser/router, and runtime helpers that integrate tightly with async/await + approachable concurrency.

**Platform story:** Commander targets the platforms we actively test: macOS, Linux, and Apple simulators (iOS/tvOS/watchOS/visionOS). Windows and Android builds are not supported or exercised in CI, so we no longer advertise them.

Highlights

  • Property-wrapper ergonomics@Option, @Argument, @Flag, and @OptionGroup mirror the Swift Argument Parser API but simply register metadata. You keep writing declarative commands while Commander handles parsing and validation centrally.
  • Command signatures everywhereCommandSignature reflects every option/flag/argument so docs, help output, agent metadata, and tests all rely on the exact same definitions.
  • Source-of-truth metadataCommandDescription replaces the old ArgumentParser CommandConfiguration, giving us Commander-native builders