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 support for contextual/environment arguments for script commands #45

Open
zenangst opened this issue Sep 13, 2020 · 0 comments
Open
Labels
discussion Further information is requested

Comments

@zenangst
Copy link
Owner

zenangst commented Sep 13, 2020

I think it would increase usability if arguments could be passed to shell scripts using environmental or contextual variables.

Example:

If the user selects file(s) in Finder, the file(s) paths can be passed as arguments to an inline or path based script.

If we add support for passing of arguments, you could take it one step further and have one command produce output for the succeeding command(s). That could open up for command chains and ability to produce unique command type(s) that can take output.

Example:

Output from a script command is sent to an AnnounceCommand which has different types, either by using say command or notification center to render the result of the script execution result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant