We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67f8be3 commit 49820d1Copy full SHA for 49820d1
bin/sail
@@ -238,7 +238,7 @@ if [ $# -gt 0 ]; then
238
else
239
sail_is_not_running
240
fi
241
-
+
242
# Initiate a PostgreSQL CLI terminal session within the "pgsql" container...
243
elif [ "$1" == "psql" ]; then
244
shift 1
@@ -276,6 +276,18 @@ if [ $# -gt 0 ]; then
276
277
278
279
+ # Initiate a Redis CLI terminal session within the "redis" container...
280
+ elif [ "$1" == "redis" ] ; then
281
+ shift 1
282
283
+ if [ "$EXEC" == "yes" ]; then
284
+ docker-compose exec \
285
+ redis \
286
+ redis-cli
287
+ else
288
+ sail_is_not_running
289
+ fi
290
291
# Share the site...
292
elif [ "$1" == "share" ]; then
293
0 commit comments