Peekaboo/peekaboo-cli/Sources/peekaboo/main.swift
Peter Steinberger 0bec93e364 Apply SwiftFormat changes for v1.0.0 release
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 20:35:27 +01:00

18 lines
566 B
Swift

import ArgumentParser
import Foundation
@main
@available(macOS 10.15, *)
struct PeekabooCommand: AsyncParsableCommand {
static let configuration = CommandConfiguration(
commandName: "peekaboo",
abstract: "A macOS utility for screen capture, application listing, and window management",
version: Version.current,
subcommands: [ImageCommand.self, ListCommand.self],
defaultSubcommand: ImageCommand.self
)
func run() async throws {
// Root command doesn't do anything, subcommands handle everything
}
}