installer

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package installer xoctopus skill 安装器 +genx:doc

Code generated by genx:doc@v0.3.8 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent string
const (
	CLAUDE Agent = "CLAUDE"
	CURSOR Agent = "CURSOR"
	CODEX  Agent = "CODEX"
)

func (*Agent) DocOf

func (v *Agent) DocOf(names ...string) ([]string, bool)

type Info

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

func (*Info) DocOf

func (v *Info) DocOf(names ...string) ([]string, bool)

type Installer

type Installer struct {
	// AgentName 名称 如 cursor claude codex
	Name Agent `cmd:"name,require"`
	// Path 安装路径. 不指定则使用 Agent 默认路径
	Path string `cmd:"path"`
	// Mode 安装模式. 0: 项目级(当前路径) 1: 当前用户
	Mode int `cmd:"mode,default=0"`
}

Installer 安装依赖skill

func (*Installer) DocOf

func (v *Installer) DocOf(names ...string) ([]string, bool)

func (*Installer) Exec

func (i *Installer) Exec(cmd *cobra.Command, _ ...string) error

type Version

type Version struct{}

Version 打印skill版本

func (*Version) DocOf

func (v *Version) DocOf(names ...string) ([]string, bool)

func (*Version) Exec

func (v *Version) Exec(cmd *cobra.Command, _ ...string) error

Jump to

Keyboard shortcuts

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