Documentation ¶
Index ¶
- func CreateDatabase(cmd *cobra.Command, docker client.CommonAPIClient, output terminal.Outputer) (bool, string, string, string, string, error)
- func CreateSite(home, dir string, output terminal.Outputer) (*config.Site, error)
- func RunApply(cmd *cobra.Command, args []string, force bool, output terminal.Outputer) error
- func VerifyInit(cmd *cobra.Command, args []string, home string, output terminal.Outputer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDatabase ¶
func CreateDatabase(cmd *cobra.Command, docker client.CommonAPIClient, output terminal.Outputer) (bool, string, string, string, string, error)
CreateDatabase is used to interactively walk a user through creating a new database. It will return true if the user created a database along with the hostname, database, port, and driver for the database container.
func CreateSite ¶
CreateSite takes the users home directory and the site path and walked the user through adding a site to the config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.