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 cli execution and examples #161

Merged
merged 2 commits into from
Jul 23, 2023
Merged

add cli execution and examples #161

merged 2 commits into from
Jul 23, 2023

Conversation

daniel-garcia
Copy link
Contributor

This PR adds file watching to the cli interface. It also adds the sprig library for command and argument interpolation. The default config file also shows how to use the shelldb driver for executing shell commands in response to input changes.

./dsnexec run
INFO[0000] map[name:json source raw_dsn:{
     name: json source
}]  shelldb_destination="my shell program"

@daniel-garcia daniel-garcia merged commit 5674faf into main Jul 23, 2023
2 checks passed
@daniel-garcia daniel-garcia deleted the cli_exec branch July 23, 2023 15:07
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.

2 participants