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

jreleaser config --generate? #1480

Open
maxandersen opened this issue Sep 4, 2023 · 3 comments
Open

jreleaser config --generate? #1480

maxandersen opened this issue Sep 4, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@maxandersen
Copy link

Is your feature request related to a problem? Please describe.
I run jreleaser config and gets wall of:

some.value must not be blank. Configure a value using the CLI yaml DSL, or define [jreleaser.some.value] System properties, or define [JRELEASER_SOME_VALUE] environment variables, or define a key/value pair in /Users/manderse/.jreleaser/config.toml with keys [JRELEASER_SOME_VALUE]
<repeat 10-15 times for some other value:)>

Describe the solution you'd like
would like a way to have output with the right keys given the format wanted/needed.

like:

jreleaser config --generate=toml

which would then let me copy the output into my config used format.

@maxandersen maxandersen added the enhancement New feature or request label Sep 4, 2023
@aalmiray aalmiray changed the title jrelaaser config --generate? jreleaser config --generate? Sep 4, 2023
@aalmiray
Copy link
Member

aalmiray commented Sep 4, 2023

If I understand correctly, what you expect is a file in the chosen format that contains suggested key/values for all missing settings that may be set using env vars?

@maxandersen
Copy link
Author

Yes.

Since All My attempts to write the suggested config is failing :)

@aalmiray
Copy link
Member

aalmiray commented Sep 4, 2023

This may be doable.

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

No branches or pull requests

2 participants