Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultMainService = "app"
)
Default config values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Name string Summary string Description string RunInContainer bool HelpFile string }
Command represents a custom sub-command
type Config ¶
type Config struct { // ProjectName is used for `docker-compose` in order to distinguish projects in other locations ProjectName string `json:"project_name" valid:"required"` // MainService is a service name in `docker-compose.yml`, in which container commands given to rid are executed. // Default is "app" MainService string `json:"main_service"` }
Config is a configuration object which parameters are loaded from yaml file
Click to show internal directories.
Click to hide internal directories.