mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-03-25 09:25:47 +00:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
566 B
Swift
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
|
|
}
|
|
}
|