configure

package
v3.0.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: BSD-2-Clause Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL