chore: Sprachmittler OpenCode starter kit
This commit is contained in:
commit
374085ec2f
94 files changed
+4563
No files matched your search
@@ -0,0 +1,6 @@
|
||||
// Placeholder so the target compiles. Replace during T0.1+ (see docs/IMPLEMENTATION_PLAN.md).
|
||||
|
||||
/// Namespace for the SprachmittlerCapture module.
|
||||
public enum SprachmittlerCaptureModule {
|
||||
public static let moduleName = "SprachmittlerCapture"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// Placeholder so the target compiles. Replace during T0.1+ (see docs/IMPLEMENTATION_PLAN.md).
|
||||
|
||||
/// Namespace for the SprachmittlerCore module.
|
||||
public enum SprachmittlerCoreModule {
|
||||
public static let moduleName = "SprachmittlerCore"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// Placeholder so the target compiles. Replace during T0.1+ (see docs/IMPLEMENTATION_PLAN.md).
|
||||
|
||||
/// Namespace for the SprachmittlerEngines module.
|
||||
public enum SprachmittlerEnginesModule {
|
||||
public static let moduleName = "SprachmittlerEngines"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// Placeholder so the target compiles. Replace during T0.1+ (see docs/IMPLEMENTATION_PLAN.md).
|
||||
|
||||
/// Namespace for the SprachmittlerEval module.
|
||||
public enum SprachmittlerEvalModule {
|
||||
public static let moduleName = "SprachmittlerEval"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// Placeholder so the target compiles. Replace during T0.1+ (see docs/IMPLEMENTATION_PLAN.md).
|
||||
|
||||
/// Namespace for the SprachmittlerOllama module.
|
||||
public enum SprachmittlerOllamaModule {
|
||||
public static let moduleName = "SprachmittlerOllama"
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// Placeholder so the target compiles. Replace during T0.1+ (see docs/IMPLEMENTATION_PLAN.md).
|
||||
|
||||
/// Namespace for the SprachmittlerTestSupport module.
|
||||
public enum SprachmittlerTestSupportModule {
|
||||
public static let moduleName = "SprachmittlerTestSupport"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// Placeholder so the target compiles. Replace during T0.1+ (see docs/IMPLEMENTATION_PLAN.md).
|
||||
|
||||
/// Namespace for the SprachmittlerText module.
|
||||
public enum SprachmittlerTextModule {
|
||||
public static let moduleName = "SprachmittlerText"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import ArgumentParser
|
||||
import SprachmittlerCore
|
||||
import SprachmittlerEval
|
||||
|
||||
/// Headless harness for Sprachmittler. Subcommands are added in T1.6 (models, show, translate),
|
||||
/// T2.7 (detect, prompt inspection) and T7.1 (eval). See docs/IMPLEMENTATION_PLAN.md.
|
||||
@main
|
||||
struct SprachmittlerCLI: ParsableCommand {
|
||||
static let configuration = CommandConfiguration(
|
||||
commandName: "sprachmittler-cli",
|
||||
abstract: "Headless translator and test harness for Sprachmittler.",
|
||||
subcommands: []
|
||||
)
|
||||
|
||||
func run() throws {
|
||||
print(
|
||||
"sprachmittler-cli: no subcommands implemented yet "
|
||||
+ "(\(SprachmittlerCoreModule.moduleName), \(SprachmittlerEvalModule.moduleName))"
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user