We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example if I'm using heroku ps --json | jq -r ".[0].name" a bunch, maybe I want to extract that into a bash function or alias.
heroku ps --json | jq -r ".[0].name"
If we auto-required that rc file before running commands we could do something like:
:::-- rundoc.rc.add alias "app_name"='`heroku ps --json | jq -r ".[0].name"`'
Then instead in shell contexts we could app_name instead.
app_name
For this case though, the alternative would be leaning into ERB variable binding.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For example if I'm using
heroku ps --json | jq -r ".[0].name"
a bunch, maybe I want to extract that into a bash function or alias.If we auto-required that rc file before running commands we could do something like:
Then instead in shell contexts we could
app_name
instead.For this case though, the alternative would be leaning into ERB variable binding.
The text was updated successfully, but these errors were encountered: