mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-20 21:23:10 +00:00
d7e137295a
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
18 lines
726 B
Go
18 lines
726 B
Go
package cli
|
|
|
|
import (
|
|
cliContext "github.com/go-skynet/LocalAI/core/cli/context"
|
|
"github.com/go-skynet/LocalAI/core/cli/worker"
|
|
)
|
|
|
|
var CLI struct {
|
|
cliContext.Context `embed:""`
|
|
|
|
Run RunCMD `cmd:"" help:"Run LocalAI, this the default command if no other command is specified. Run 'local-ai run --help' for more information" default:"withargs"`
|
|
Models ModelsCMD `cmd:"" help:"Manage LocalAI models and definitions"`
|
|
TTS TTSCMD `cmd:"" help:"Convert text to speech"`
|
|
Transcript TranscriptCMD `cmd:"" help:"Convert audio to text"`
|
|
Worker worker.Worker `cmd:"" help:"Run workers to distribute workload (llama.cpp-only)"`
|
|
Util UtilCMD `cmd:"" help:"Utility commands"`
|
|
}
|