feat: Adds minimal cli executable and commands.
All checks were successful
CI / Linux Tests (push) Successful in 6m44s
All checks were successful
CI / Linux Tests (push) Successful in 6m44s
This commit is contained in:
14
Sources/CLI/Cli.swift
Normal file
14
Sources/CLI/Cli.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user