cli

package
v0.22.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

Types

type Login added in v0.22.0

type Login struct {
	NoExpiration bool   `usage:"Set the token to never expire"`
	ForceRefresh bool   `usage:"Force refresh the token even if a valid one is cached"`
	PrintToken   bool   `usage:"Print the token to stdout after logging in"`
	URL          string `usage:"Obot app URL to authenticate against"`
	// contains filtered or unexported fields
}

func (*Login) Customize added in v0.22.0

func (l *Login) Customize(cmd *cobra.Command)

func (*Login) Run added in v0.22.0

func (l *Login) Run(cmd *cobra.Command, _ []string) error

type Logout added in v0.22.0

type Logout struct {
	URL string `usage:"Obot app URL whose stored credentials should be removed"`
	// contains filtered or unexported fields
}

func (*Logout) Customize added in v0.22.0

func (l *Logout) Customize(cmd *cobra.Command)

func (*Logout) Run added in v0.22.0

func (l *Logout) Run(cmd *cobra.Command, _ []string) error

type Obot

type Obot struct {
	Debug  bool `usage:"Enable debug logging"`
	Client *apiclient.Client
}

func (*Obot) PersistentPre

func (a *Obot) PersistentPre(*cobra.Command, []string) error

func (*Obot) Run

func (a *Obot) Run(cmd *cobra.Command, _ []string) error

type Scan added in v0.22.0

type Scan struct {
	DeviceID string `` /* 192-byte string literal not displayed */
	DryRun   bool   `usage:"Print the scan payload to stdout without submitting it" env:"OBOT_SCAN_DRY_RUN"`
	Timeout  int    `usage:"Number of seconds to wait for the scan to complete" default:"60" env:"OBOT_SCAN_TIMEOUT"`
	MaxDepth int    `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Scan) Customize added in v0.22.0

func (s *Scan) Customize(cmd *cobra.Command)

func (*Scan) Run added in v0.22.0

func (s *Scan) Run(cmd *cobra.Command, _ []string) error

type Server

type Server struct {
	services.Config
}

func (*Server) Run

func (s *Server) Run(cmd *cobra.Command, _ []string) error

type Setup added in v0.22.0

type Setup struct {
	URL    string `usage:"Obot app URL to configure"`
	Agents string `usage:"Comma-separated target agents: detected, claude-code, or cursor" default:"detected"`
	Yes    bool   `usage:"Accept confirmations and use non-interactive defaults"`
	// contains filtered or unexported fields
}

func (*Setup) Customize added in v0.22.0

func (s *Setup) Customize(cmd *cobra.Command)

func (*Setup) Run added in v0.22.0

func (s *Setup) Run(cmd *cobra.Command, _ []string) error

type Skills added in v0.22.0

type Skills struct {
	// contains filtered or unexported fields
}

func (*Skills) Customize added in v0.22.0

func (s *Skills) Customize(cmd *cobra.Command)

func (*Skills) Run added in v0.22.0

func (s *Skills) Run(cmd *cobra.Command, _ []string) error

type SkillsInstall added in v0.22.0

type SkillsInstall struct {
	Agent string `usage:"Target agent: detected, claude-code, or cursor" default:"detected"`
	JSON  bool   `usage:"Print results as JSON"`
	// contains filtered or unexported fields
}

func (*SkillsInstall) Customize added in v0.22.0

func (s *SkillsInstall) Customize(cmd *cobra.Command)

func (*SkillsInstall) Run added in v0.22.0

func (s *SkillsInstall) Run(cmd *cobra.Command, args []string) error

type SkillsSearch added in v0.22.0

type SkillsSearch struct {
	Limit int  `usage:"Maximum number of skills to return" default:"50"`
	JSON  bool `usage:"Print results as JSON"`
	// contains filtered or unexported fields
}

func (*SkillsSearch) Customize added in v0.22.0

func (s *SkillsSearch) Customize(cmd *cobra.Command)

func (*SkillsSearch) Run added in v0.22.0

func (s *SkillsSearch) Run(cmd *cobra.Command, args []string) error

type Version

type Version struct{}

func (*Version) Run

func (l *Version) Run(*cobra.Command, []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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