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

Publish in crates.io #38

Closed
caprilesport opened this issue Jan 17, 2024 · 1 comment
Closed

Publish in crates.io #38

caprilesport opened this issue Jan 17, 2024 · 1 comment

Comments

@caprilesport
Copy link
Owner

Just have to figure out how to automatically create the config dir,
or when installing where do these files go and how one can copy them to the desired
destination.

@caprilesport
Copy link
Owner Author

In the realms of installing the configuration files, seems like the build.rs approach is not the best one.

So i thought about an approach I've already seen some cli tools take, which is to offer two more flags:
--health and --set-up.

health checks if there are presets available (minimum to start creating templates), as well as if there is a
valid gedent.toml in the config directory, if the config directory is not found, the user is asked if it wants to set it up.

set-up creates the config directory, writes a minimal gedent.toml file and writes a set of presets that will be embedded
in the binary. (#47)

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

No branches or pull requests

1 participant