wilfred-dev / wilfred

🐿️ A CLI for managing game servers using Docker.
https://wilfredproject.org
MIT License
35 stars 2 forks source link

Improve codebase #42

Closed vilhelmprytz closed 4 years ago

vilhelmprytz commented 4 years ago

A lot of the code is currently not consistent. Before #34 is implemented, I think a lot of the methods (i.e. servers.py, server_config.py, config_parser.py and images.py) should be rewritten to be more consistent and that the different method functions should be split into smaller modules so that the application as a whole can be imported as an API (and separate the CLI from the Wilfred API).

With this implemented, a more general and predictable extension system could be implemented. I also propose the CLI should be completely separated from the core API itself.