The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_SHELL_CMD_ROOT

Set a root command at init

Type: string

Help

This option sets a root command at shell init,
and when exiting to main command tree with alt+r.

Direct dependencies

SHELL

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to the empty string.

Kconfig definition

At subsys/shell/Kconfig:219

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:45

Menu path: (Top) → Sub Systems and OS Services → Shell

config SHELL_CMD_ROOT
    string "Set a root command at init"
    depends on SHELL
    help
      This option sets a root command at shell init,
      and when exiting to main command tree with alt+r.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)