Documentation ¶
Index ¶
- Constants
- Variables
- func ParseAndRun(cmdArgs []string, specs Commands, registry *transform.Registry) error
- type App
- func (s *App) BuildMode() core.BuildMode
- func (s *App) Close() error
- func (s *App) ConfigFilePath() string
- func (s *App) DB() *db.Service
- func (s *App) DBDir() string
- func (s *App) FilePath(objectName string) string
- func (s *App) Mode() core.Mode
- func (s *App) ProxyFunc() func(reqURL *url.URL) (*url.URL, error)
- func (s *App) Registry() *transform.Registry
- func (s *App) Stderr() io.Writer
- func (s *App) Stdout() io.Writer
- func (s *App) TmpDir() string
- func (s *App) WorkDir() string
- func (s *App) WorkspaceConfigScanner(key string) (schema.Scanner, error)
- type CommandRunner
- type CommandSpec
- type Commands
Constants ¶
View Source
const CONFIG_FILENAME = "imbed.toml"
View Source
const DB_DIR = ".imbed"
View Source
const FILES_DIR = "files"
View Source
const LOCK_FILENAME = "lock"
View Source
const TMP_DIR = "tmp"
Variables ¶
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) ConfigFilePath ¶
type CommandRunner ¶
type CommandRunner func(app *App, command CommandSpec) error
type CommandSpec ¶
Click to show internal directories.
Click to hide internal directories.