I propose following CLI modification (considering only version 3.x)
- support
NAMEKO_CONFIGenv variable as alternative for--configoption. Value would specify (single) path to a config file such as"config.yaml". Applicable tonameko run,nameko shellandnameko shell-config. - support
NAMEKO_SERVICESenv variable as alternative for declaration of modules/service classes to run. Value would be space delimited list ofmodule[:service class]strings such as"myapp.service:publisher myapp.monitor". Applicable tonameko run.
With such env var. tooling, it would be easy to set env variables and start an app simply by nameko run.
If we agree on this, I can take care of implementation (for nameko 3.x only).