mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
26 lines
662 B
Swift
26 lines
662 B
Swift
/*
|
|
This source file is part of the Swift System open source project
|
|
|
|
Copyright (c) 2021 - 2025 Apple Inc. and the Swift System project authors
|
|
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
|
|
See https://swift.org/LICENSE.txt for license information
|
|
*/
|
|
|
|
import ArgumentParser
|
|
|
|
struct SystemSamples: ParsableCommand {
|
|
static let configuration = CommandConfiguration(
|
|
commandName: "system-samples",
|
|
abstract: "A collection of little programs exercising some System features.",
|
|
subcommands: [
|
|
Resolve.self,
|
|
ReverseResolve.self,
|
|
Connect.self,
|
|
Listen.self,
|
|
])
|
|
}
|
|
|
|
disableBuffering()
|
|
SystemSamples.main()
|