Skip to content
Xieyt edited this page Apr 26, 2024 · 2 revisions

fm shell

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
Clone this wiki locally