Skip to content

Add command line option to send custom values to config.py  #704

@dogbert911

Description

@dogbert911

Describe the desirable behavior of the program
Use universum cli arguments in config file.
Ex:

Start Universum with next command line:

python -m universum --opt foo=bar --opt aaa=bbb

Get access to --opt values (or for all universum args) in config.py:

from universum.configuration_support import Options

print(Options.foo)
print(Options.aaa)

Describe alternatives you've considered

Use environment variables

Additional context
None

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions