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

Generate list of destinations #105

Merged
merged 3 commits into from
May 24, 2023
Merged

Generate list of destinations #105

merged 3 commits into from
May 24, 2023

Conversation

umputun
Copy link
Owner

@umputun umputun commented May 24, 2023

see #104

This PR allows exporting the list of destinations to either json (default format) or any custom format defined by a user-provided template file (go templates format). The generated list can be sent to stdout (by default) or a custom file.

@knutov - I have added this thing even with the templates because I don't want to abuse users by forcing them to use jq ;)

I still think this feature is a little bit exotic, but probably for users migrating from ansible it will make more sense.

@umputun umputun merged commit 2aafb71 into master May 24, 2023
3 checks passed
@umputun umputun deleted the gen_template branch May 24, 2023 21:00
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.

None yet

1 participant