-
Notifications
You must be signed in to change notification settings - Fork 58
Configuration file propsoal #162
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
This proposal suggests having a configuration file for turning on/off features in Modmesh.
Currently, we may use Python script to set up some configs during runtime, such as setting modmesh.view.app.pycon.python_redirect = False, but it's inconvenient to do it again and again when we are doing some testing.
The steps should be:
- have a new file
config.{format}in json or ymal format. - have an in-memory config object
class Config - when Modmesh starts, it loads the config file to
Configand Modmesh initializes everything according toConfig - when Python scripts modify config later during runtime, just change
Config
There should be no overhead for Modmesh with this proposed change. This change may also benefit the later web server feature since we can expect some configurations may be required.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request