Expose native PromptKit discovery preparation and smoke testing
This commit is contained in:
@@ -20,7 +20,7 @@ func Execute(ctx context.Context, identity commandkit.Identity, args []string, s
|
||||
}
|
||||
|
||||
func newApp(identity commandkit.Identity) (*commandkit.App, error) {
|
||||
definitions := ckprompt.FromEngine(loadEngine)
|
||||
definitions := promptSuite()
|
||||
declarations := []commandkit.Declaration{
|
||||
commandkit.NewCommand(commandkit.CommandSpec[struct{}]{Name: "run", Summary: "Run a stored prompt.", Run: commandNotImplemented}),
|
||||
commandkit.NewCommand(commandkit.CommandSpec[serveInput]{Name: "serve", Summary: "Serve the HTTP API.", Flags: serveFlags(), Run: func(commandkit.Invocation, serveInput) commandkit.Outcome {
|
||||
|
||||
Reference in New Issue
Block a user