Passing the —env flag through to hooks #95
Unanswered
morpheus7CS
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a command that runs as an after hook to
php artisan export --env=production
.In this command I would like to do things depending on that --env value.
App::enviromnment check always returns the value as local. How can I pass the env argument over to the after hook?
Thanks! 🙏
Beta Was this translation helpful? Give feedback.
All reactions