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

Add a mechanism to make Topiary generate its default configuration #566

Closed
Niols opened this issue Jul 7, 2023 · 1 comment · Fixed by #583
Closed

Add a mechanism to make Topiary generate its default configuration #566

Niols opened this issue Jul 7, 2023 · 1 comment · Fixed by #583
Labels
P2 major: an upcoming release type: feature request

Comments

@Niols
Copy link
Member

Niols commented Jul 7, 2023

Is your feature request related to a problem? Please describe.

Now that Topiary can get its configuration from external files, it would be nice if there was a possibility to generate the default configuration it uses to a certain file.

Describe the solution you'd like

A sub-command and/or flag to make Topiary output its default (or maybe current if there are other configuration files at play?) configuration to stdout or to a file.

Describe alternatives you've considered

A cheap alternative would be to ship the default configuration file in Topiary, eg. in share/doc/language.toml or something, and to advertise that somewhere for someone (such as me) looking for it.

Additional context

Issues:

In particular, one property should probably be that generating the current configuration then using it gives the same behaviour (more idempotency yay \o)

@ErinvanderVeen ErinvanderVeen added the P2 major: an upcoming release label Jul 7, 2023
@Xophmeister
Copy link
Member

This is implemented in #583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 major: an upcoming release type: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants