feat: Moves commands into cli-client module, adds tests, needs implemented in the executable.

This commit is contained in:
2024-12-11 14:41:06 -05:00
parent ddb5e6767a
commit c1a14ea855
8 changed files with 276 additions and 280 deletions

View File

@@ -39,21 +39,14 @@ let package = Package(
"ConfigurationClient",
.product(name: "Dependencies", package: "swift-dependencies"),
.product(name: "DependenciesMacros", package: "swift-dependencies"),
.product(name: "ShellClient", package: "swift-shell-client"),
.product(name: "TOMLKit", package: "TOMLKit")
.product(name: "ShellClient", package: "swift-shell-client")
]
),
.testTarget(
name: "CliClientTests",
dependencies: [
"CliClient",
.product(name: "TOMLKit", package: "TOMLKit")
],
resources: [
.copy("Resources/config.json"),
.copy("Resources/.hparc"),
.copy("Resources/vault.yml"),
.copy("Resources/hpa-playbook")
"TestSupport"
]
),
.target(