-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Feature: Ability to Pipe into warden shell
#662
Labels
enhancement
New feature or request
Milestone
Comments
What's the benefit of this over just doing something like |
@bap14 Not much. The one benefit would be that it would work like people tend to expect |
This does work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(/) Acceptance Criteria
warden shell
detects if contents are being piped into itwarden shell
treats contents piped into it as if a -C flag had been passedwarden shell
by itself still launches a containere.g.
warden shell
should act like bash(?) Technical Information
Source: https://stackoverflow.com/a/37243826
Discussed in https://github.com/orgs/wardenenv/discussions/654
Originally posted by cjnewbs June 1, 2023
Hi,
I'm creating a makefile to setup local environments automatically.
I've got most of it working but I am having trouble running
bin/magento s:up
. I can run it interactively from withinwarden shell
but I would like to be able to do something like:Which is similar to running a setup SQL which I do like so:
echo "$$SQL" | warden db import
, however trying it withwarden shell
results in the errorthe input device is not a TTY
Any ides?
The text was updated successfully, but these errors were encountered: