Documentation
¶
Index ¶
Constants ¶
View Source
const SchemaVersion = 1
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Envelope ¶
type Envelope struct {
OK bool `json:"ok" yaml:"ok"`
SchemaVersion int `json:"schema_version" yaml:"schema_version"`
Error *ErrorObject `json:"error,omitempty" yaml:"error,omitempty"`
Data any `json:"data,omitempty" yaml:"data,omitempty"`
}
type ErrorObject ¶
type ProfileListFormatter ¶ added in v0.0.5
type ProfileListFormatter interface {
ToProfileListData() (configPath string, profiles []profileListItem, ok bool)
}
ProfileListFormatter 接口:支持 profile list 输出的结构实现此接口
type TableFormatter ¶ added in v0.0.5
TableFormatter 接口:支持表格输出的数据结构实现此接口
Click to show internal directories.
Click to hide internal directories.