cmd

package
v0.0.0-...-8358335 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CleanCommand = &cobra.Command{
	Use:   "clean",
	Short: "Clean up orphanated segments",
	Args:  cobra.ExactArgs(1),
	RunE: func(cmd *cobra.Command, args []string) error {
		err := clean(cmd, args)
		if err != nil {
			cmd.SilenceUsage = true
			return err
		}
		return nil
	},
}
View Source
var FTSCommand = &cobra.Command{
	Use:   "fts",
	Short: "Full text search operations",
}
View Source
var RootCmd = &cobra.Command{
	Use:     "chops",
	Short:   "The Chroma Ops TUI.",
	Long:    `Utility to manage your Chroma DB instance.`,
	Version: "0.0.0",
}

RootCmd represents the base command when called without any subcommands

Functions

This section is empty.

Types

type DefaultHomeDirProvider

type DefaultHomeDirProvider struct{}

func (DefaultHomeDirProvider) GetHomeDir

func (d DefaultHomeDirProvider) GetHomeDir() (string, error)

type HomeDirProvider

type HomeDirProvider interface {
	GetHomeDir() (string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL