How I can to get custom options in the `init` function of the Tarantool Cartridge role?
问题 A Tarantool Cartridge role file has a function init . I want to get my custom options from the instance.yml file. But the opts variable doesn't have it. How I can do it? 回答1: Cartridge has a built-in module called "argparse". It parses a few sources of configuration and combines them together: instances.yml or files in /etc/tarantool/conf.d command line arguments environment variables starting with TARANTOOL_ Cartridge uses this module to get various pieces of configuration like the port