tarantool / tt

Command-line utility to manage Tarantool applications
Other
101 stars 12 forks source link

`modules:` add support find module with `TT_CLI_MODULES_PATH` variable #1013

Open dmyger opened 1 week ago

dmyger commented 1 week ago

The TT_CLI_MODULES_PATH environment variable specifies a list of module paths separated by a colon “:”. The variable must be set in the SDK when using the env.sh configuration file. It can also be set independently and must contain a list of folders where modules are located. The logic of working with this variable should be similar to the PATH system variable.

Lists of modules are combined into one common list:

Any duplicates must be removed, while maintaining the original order of module declarations.

Blocked with #1012 here we are expecting a list of at modules/directories in the tt.yaml.