Configuration file propsoal #165
Replies: 4 comments 7 replies
-
cc @yungyuc, what do you think? |
Beta Was this translation helpful? Give feedback.
-
Thanks @tigercosmos . Remarks:
|
Beta Was this translation helpful? Give feedback.
-
Converted this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
@tigercosmos Before filing a contentless PR like #166 , perhaps it will be a good idea to use this discussion thread to provide some thoughts. It would also be good to use prototype / wip PR to facilitate discussions. But I think we need to provide points in any of the posts and PRs. |
Beta Was this translation helpful? Give feedback.
-
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:
config.{format}
in json or ymal format.class Config
Config
and Modmesh initializes everything according toConfig
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.
Beta Was this translation helpful? Give feedback.
All reactions