This repository has been archived on 2026-02-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
swift-duct-calc/Sources/CLI/Cli.swift
Michael Housh 291bed28d5
All checks were successful
CI / Linux Tests (push) Successful in 6m44s
feat: Adds minimal cli executable and commands.
2026-02-07 21:17:29 -05:00

15 lines
326 B
Swift

import ArgumentParser
@main
struct DuctCalcCli: AsyncParsableCommand {
static let configuration: CommandConfiguration = .init(
commandName: "ductcalc",
abstract: "Perform duct calculations.",
subcommands: [
ConvertCommand.self,
SizeCommand.self,
],
defaultSubcommand: SizeCommand.self
)
}