Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Batch ¶
type Batch struct {
Id int `json:"Id"`
CommandType string `json:"CommandType"`
Command []string `json:"Command"`
CommandString string `json:"CommandString"`
WorkingDir string `json:"WorkingDir"`
Undoable bool `json:"Undoable"`
Undone bool `json:"Undone"`
Date time.Time `json:"Date"`
}
func GetLastNonUndone ¶
type BatchList ¶
type BatchList []Batch
func GetBatches ¶
func (BatchList) ToTableData ¶
type Favorite ¶
type Favorite struct {
Id int `json:"Id"`
Name string `json:"Name"`
Command []string `json:"Command"`
CommandType string `json:"CommandType"`
CommandString string `json:"CommandString"`
}
func GetFavoriteByName ¶
type FavoriteList ¶
type FavoriteList []Favorite
type OperationList ¶
type OperationList []Operation
func GetOperationsForBatch ¶
func GetOperationsForBatch(batchId int) (OperationList, error)
func (OperationList) ToTableData ¶
func (ops OperationList) ToTableData(cwd string) pterm.TableData
Click to show internal directories.
Click to hide internal directories.