-
Notifications
You must be signed in to change notification settings - Fork 28
shell
Xieyt edited this page Apr 26, 2024
·
2 revisions
Spawn shell for the give bench.
Usage:
$ fm shell [OPTIONS] [BENCHNAME]
Arguments:
-
[BENCHNAME]
: Name of the bench.
Options:
-
--user TEXT
: Connect as this user. -
--service [frappe|nginx|mariadb|redis-queue|redis-cache|redis-socketio|schedule|socketio]
: Specify compose service name for which to spawn shell. [default: BenchServicesEnum.frappe] -
--help
: Show this message and exit.
Examples:
Spawn shell for bench example, frappe
user, service frappe
_
fm shell example
Spawn shell for bench example, root
user, service frappe
_
fm shell example --user root
Spawn shell for bench example, root
user, service nginx
_
fm shell example --service nginx --user root