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 <Zephyr>/subsys/shell/Kconfig:219

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/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.)