RTEMS | shell: add the true/false shell commands (!1051)

Mostafa Abdelglel (@galelo04) gitlab at rtems.org
Sat Feb 7 00:07:12 UTC 2026



Mostafa Abdelglel created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1051

Project:Branches: galelo04/rtems:shell-add-support-for-true-false-shell-commands to rtems/rtos/rtems:main
Author:   Mostafa Abdelglel



## Summary

shell: add the true/false shell commands

- add support for the true and false shell commands by implementing rtems_shell_main_true() and rtems_shell_main_false() functions. 
- add necessary build support by adding the commands to spec/build/cpukit/libmisc.yml
- registered the commands in the cpukit/include/rtems/shellconfig.h

Update #5431 

## Generative AI

Prompt used: "what could be the best way to make a contribution to familiarize myself with the codebase." also provided context about the Shell Re-import project.

which AI model was used: gemini 3 pro

how i used AI for the contribution:

used it for brainstorming, it then suggested that the best way is to re-import a shell command from freebsd as a starter.

so no AI code generation was used. The implementation was derived by searching existing patterns (specifically whoami as i thought it would not be repeated too much across the codebase) in the codebase.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1051
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260207/f70e188b/attachment-0001.htm>


More information about the bugs mailing list