zephyr/subsys/shell
Jakub Rzeszutko b633e431a4 shell: add select command
The "select" command has been implemented, which allows user to
narrow down the command tree.

This implementation differs from the "select" command available
in the legacy shell. In a new implementation, if the selected
command has a handler and if the user has not entered the
registered subcommand, the shell will call the handler of selected
command and pass the text as arguments.

This may be useful, for example, if someone wants to use the
shell as an interface to a modem that supports AT commands.
Instead of each time you write e.g:
	at at+command1
	at at+command2
	at at+command3
user can execute following commands:
	select at
	at+command1
	at+command2
	at+command3

where:
at - root command for passing at commands to the modem
at+commandX - at command passed to the modem.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2019-05-24 11:04:42 +02:00
..
modules license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig shell: add select command 2019-05-24 11:04:42 +02:00
Kconfig.backends shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
Kconfig.template.shell_log_queue_size license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.template.shell_log_queue_timeout license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
shell_cmds.c shell: add select command 2019-05-24 11:04:42 +02:00
shell_dummy.c shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
shell_fprintf.c subsystems: Rename reserved function names 2019-04-03 17:31:00 -04:00
shell_help.c shell: add select command 2019-05-24 11:04:42 +02:00
shell_help.h shell: creating new module for help functionality 2018-12-05 15:15:44 +01:00
shell_history.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
shell_log_backend.c shell: Add handling of CONFIG_LOG_INPLACE_PROCESS option 2019-02-05 09:55:39 +01:00
shell_ops.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
shell_ops.h shell: allow commands to suspend shell thread 2019-02-14 13:40:28 +01:00
shell_rtt.c shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
shell_telnet_protocol.h shell: Add TELNET backend 2019-04-01 10:26:13 -04:00
shell_telnet.c shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
shell_uart.c shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
shell_utils.c shell: add select command 2019-05-24 11:04:42 +02:00
shell_utils.h shell: add select command 2019-05-24 11:04:42 +02:00
shell_vt100.h shell: add select command 2019-05-24 11:04:42 +02:00
shell_wildcard.c shell: allow commands to suspend shell thread 2019-02-14 13:40:28 +01:00
shell_wildcard.h shell: Add wildcard support 2018-09-19 09:30:29 -04:00
shell.c shell: add select command 2019-05-24 11:04:42 +02:00