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 driver for shell command #32

Open
ejboy opened this issue Jan 28, 2020 · 0 comments
Open

Add driver for shell command #32

ejboy opened this issue Jan 28, 2020 · 0 comments

Comments

@ejboy
Copy link
Member

ejboy commented Jan 28, 2020

Some ideas:

Config

Allow to configure which shell executable to use, e.g.

shell.posix.cmd_name = /usr/bin/sh
shell.win.cmd_name = cmd.exe /c 

Dialects

It should be possible to specify os family in the dialect, to write cross platform scripts
os.name/os.version properties will work.

Queries

<query>
   for i in {0..3}
do
  echo "Number: $i"
done
</query>

Should produce lines as the result of the query.

ejboy added a commit that referenced this issue Jan 31, 2020
Initial version of the driver
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