Documentation ¶
Overview ¶
Package core is generated by github.com/omeid/go-resources
Index ¶
- func ExecuteQuery(w *Workspace, q Query, dryRun bool, verbose int) error
- func OsEnv() map[string]string
- func RenderTemplate(tmpl string, env map[string]string, args map[string]string) (string, error)
- type Execution
- type File
- type FileInfo
- type FileSystem
- type Project
- type Query
- type Task
- type Workspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteQuery ¶
ExecuteQuery executes the given query in the workspace
Types ¶
type Execution ¶
type Execution struct { Workspace *Workspace Query *Query Project *Project Task *Task DryRun bool Verbose int }
Execution represents a task and context being invoked
type File ¶ added in v1.0.2
File implements http.File
type FileInfo ¶ added in v1.0.2
type FileInfo struct {
// contains filtered or unexported fields
}
FileInfo implements the os.FileInfo interface.
type FileSystem ¶ added in v1.0.2
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is an http.FileSystem implementation.
var FS *FileSystem
type Project ¶
type Project struct { Src string Cwd string Name string Desc string Tags []string Discover []string Mixin []string Env map[string]string EnvFiles []string Tasks map[string]Task }
Project represents a parsed project
func ParseProject ¶
ParseProject parses the given project
type Query ¶
Query reprents a task execution query
func ParseQueries ¶
ParseQueries parses a query from the command line
Click to show internal directories.
Click to hide internal directories.