Documentation
¶
Overview ¶
Package configure fills the process context of tt for the command line: the project the working directory is in, the tarantool and tcm executables the commands run, and the config of tt daemon.
No configuration file of tt is read here. tt.yaml, which described a tt environment, is gone: the project is found by its markers, and the executables come from the project scope tt binary installs into, and from PATH.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cli ¶
func Cli(cmdCtx *cmdcontext.CmdCtx) error
Cli fills the process context in cmdCtx: the project directory, the tarantool and tcm executables and the path of the tt daemon config.
func GetDaemonOpts ¶
func GetDaemonOpts(configurePath string) (*config.DaemonOpts, error)
GetDaemonOpts returns tt daemon options from the config file located at path configurePath.
func ValidateCliOpts ¶
func ValidateCliOpts(cliCtx *cmdcontext.CliCtx) error
ValidateCliOpts checks the root flags for values that contradict each other.
Types ¶
This section is empty.