Documentation
¶
Overview ¶
Package cmd implements the command-line interface for the Glean CLI. It provides commands for interacting with Glean's API, managing configuration, and performing various operations like search and chat.
Index ¶
- func Execute() error
- func NewCmdAPI() *cobra.Command
- func NewCmdActivity() *cobra.Command
- func NewCmdAgents() *cobra.Command
- func NewCmdAnnouncements() *cobra.Command
- func NewCmdAnswers() *cobra.Command
- func NewCmdAuth() *cobra.Command
- func NewCmdChat() *cobra.Command
- func NewCmdCollections() *cobra.Command
- func NewCmdDocuments() *cobra.Command
- func NewCmdEntities() *cobra.Command
- func NewCmdGenerateSkills() *cobra.Command
- func NewCmdInsights() *cobra.Command
- func NewCmdMessages() *cobra.Command
- func NewCmdPins() *cobra.Command
- func NewCmdRoot() *cobra.Command
- func NewCmdSchema() *cobra.Command
- func NewCmdSearch() *cobra.Command
- func NewCmdShortcuts() *cobra.Command
- func NewCmdTools() *cobra.Command
- func NewCmdUpdate() *cobra.Command
- func NewCmdVerification() *cobra.Command
- func SetVersion(v string)
- type APIOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute() error
Execute runs the root command and handles any errors. It's the main entry point for the CLI application.
func NewCmdActivity ¶
func NewCmdAgents ¶
func NewCmdAnnouncements ¶
func NewCmdAnswers ¶
func NewCmdAuth ¶
NewCmdAuth creates the `glean auth` command group.
func NewCmdCollections ¶
func NewCmdDocuments ¶
func NewCmdEntities ¶
func NewCmdGenerateSkills ¶ added in v0.6.3
NewCmdGenerateSkills creates the generate-skills command.
func NewCmdInsights ¶
func NewCmdMessages ¶
func NewCmdPins ¶
func NewCmdRoot ¶
NewCmdRoot creates and returns the root command for the Glean CLI. It sets up the base command structure and adds all subcommands.
func NewCmdSchema ¶
NewCmdSchema creates and returns the schema command.
func NewCmdSearch ¶
NewCmdSearch creates and returns the search command.
func NewCmdShortcuts ¶
func NewCmdTools ¶
func NewCmdUpdate ¶ added in v0.6.4
func NewCmdVerification ¶
func SetVersion ¶
func SetVersion(v string)
SetVersion records the build-time version for use in --version and update checks.
Types ¶
type APIOptions ¶
type APIOptions struct {
// contains filtered or unexported fields
}
APIOptions holds configuration for the API command.