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

Bundle the example configuration into the binary #8

Open
hizkifw opened this issue Aug 4, 2022 · 1 comment
Open

Bundle the example configuration into the binary #8

hizkifw opened this issue Aug 4, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@hizkifw
Copy link
Member

hizkifw commented Aug 4, 2022

Ideally, users who downloaded the binary releases should not have to refer to GitHub to grab an example configuration file. The example config should be embedded with the include_str! macro, and be accessible with a command-line flag, something like this:

./hoshinova --example-config > config.toml
@hizkifw hizkifw added enhancement New feature or request good first issue Good for newcomers labels Aug 4, 2022
@DaniruKun
Copy link

Another option would also be to just have it in a public gist, or even just as an .example file in the repository, that hoshinova can directly download with the http client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants