23 lines
489 B
Swift
23 lines
489 B
Swift
import ArgumentParser
|
|
import Dependencies
|
|
import Rainbow
|
|
import ShellClient
|
|
|
|
@main
|
|
struct Application: AsyncParsableCommand {
|
|
|
|
static let configuration = CommandConfiguration(
|
|
commandName: Constants.appName,
|
|
abstract: createAbstract("A utility for working with ansible hpa playbook."),
|
|
version: VERSION ?? "0.0.0",
|
|
subcommands: [
|
|
BuildCommand.self,
|
|
CreateCommand.self,
|
|
GenerateCommand.self,
|
|
VaultCommand.self,
|
|
UtilsCommand.self
|
|
]
|
|
)
|
|
|
|
}
|