Skip to content

Clean up config handling #4

@funnyboy-roks

Description

@funnyboy-roks

The code right now for the config is a mess, and I'm not 100% sure on the right way to handle the config.

I'd like to automatically generate the config on startup if it's not already there and none have been specified via --config, like it is now, but I'm not sure if there's a nicer way to do it. We could use serde to write it, but I don't think that one can have comments with the toml crate. It may be possible to add comments with the toml_edit crate, but I don't know enough about it.

If anyone has knowledge or would like to tackle this, contributions are welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions