Versions in this module Expand all Collapse all v0 v0.9.12 Oct 18, 2026 v0.9.11 Oct 18, 2026 v0.9.10 Oct 17, 2026 Changes in this version + func Main() + func New() *cobra.Command + type CacheOptions cache.Options + type Credential struct + AllContexts bool + ShowEnvVars bool + func (c *Credential) Customize(cmd *cobra.Command) + func (c *Credential) Run(cmd *cobra.Command, _ []string) error + type Delete struct + func (c *Delete) Customize(cmd *cobra.Command) + func (c *Delete) Run(cmd *cobra.Command, args []string) error + type DisplayOptions monitor.Options + type Eval struct + Chat bool + InternalPrompt *bool + JSON bool + MaxTokens int + Model string + Temperature string + Tools []string + func (e *Eval) Run(cmd *cobra.Command, args []string) error + type Fmt struct + Write bool + func (e *Fmt) Customize(cmd *cobra.Command) + func (e *Fmt) Run(_ *cobra.Command, args []string) error + type GPTScript struct + ChatState string + Chdir string + Color *bool + Confirm bool + CredentialContext []string + CredentialOverride []string + Daemon bool + Debug bool + DefaultModelProvider string + DisableTUI bool + EventsStreamTo string + ForceChat bool + ForceSequential bool + GithubEnterpriseHostname string + Input string + ListModels bool + ListTools bool + ListenAddress string + NoTrunc bool + Output string + Ports string + Quiet *bool + SaveChatStateFile string + SubTool string + SystemToolsDir string + UI bool + Workspace string + func (r *GPTScript) Customize(cmd *cobra.Command) + func (r *GPTScript) NewGPTScriptOpts() (gptscript.Options, error) + func (r *GPTScript) PersistentPre(*cobra.Command, []string) error + func (r *GPTScript) PrintOutput(toolInput, toolOutput string) (err error) + func (r *GPTScript) Run(cmd *cobra.Command, args []string) (retErr error) + type Getenv struct + func (e *Getenv) Customize(cmd *cobra.Command) + func (e *Getenv) Run(_ *cobra.Command, args []string) error + type OpenAIOptions openai.Options + type Parse struct + PrettyPrint bool + func (e *Parse) Customize(cmd *cobra.Command) + func (e *Parse) Run(_ *cobra.Command, args []string) error + type SDKServer struct + DatasetTool string + WorkspaceTool string + func (c *SDKServer) Customize(cmd *cobra.Command) + func (c *SDKServer) Run(cmd *cobra.Command, _ []string) error + type Show struct + func (c *Show) Customize(cmd *cobra.Command) + func (c *Show) Run(cmd *cobra.Command, args []string) error