Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement config file #10

Merged
merged 2 commits into from
May 15, 2023
Merged

feat: implement config file #10

merged 2 commits into from
May 15, 2023

Conversation

pythonbrad
Copy link
Member

Issue

resolve #7

Change

Support config file in toml format.

@pythonbrad pythonbrad self-assigned this May 15, 2023
@pythonbrad pythonbrad changed the title feat: implement config file feat: implement config file [WIP] May 15, 2023
@pythonbrad pythonbrad marked this pull request as draft May 15, 2023 00:47
src/main.rs Outdated
eprintln!("Problem parsing arguments: {err}");
process::exit(1);
});

let frontend = Wish::build(conf.buffer_size);
let wish_conf = WishConfig::from_file("./data/wish.toml").unwrap_or_else(|err| {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can wait firstly, the clafrica to implement the config file before continue the work.

@pythonbrad pythonbrad marked this pull request as ready for review May 15, 2023 19:49
@pythonbrad pythonbrad changed the title feat: implement config file [WIP] feat: implement config file May 15, 2023
@pythonbrad pythonbrad merged commit 9827adc into main May 15, 2023
@pythonbrad pythonbrad deleted the patch branch May 15, 2023 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a configuration file
1 participant