How noufel882/simple-shell-using-c-sharp works
This is a small interactive C# shell. The user enters a line, the shell tokenizes it and dispatches built-in commands or launches a process. Built-ins support directory changes, directory creation, console clearing, and exit. The single source file also owns command errors and process waiting; the repository provides no evidence of additional subsystems.
Main entry points: Program.cs Shell Loop
Components 10
Other components
- User
- Shell Loop
Program.cs - Command Parser
Program.cs - Command Dispatcher
Program.cs - Directory Commands
Program.cs - Process Runner
Program.cs - Console Controls
Program.cs - Error Reporting
Program.cs - Filesystem
- Child Process
Connections 11
- User → Shell Loop: enters commands
Program.cs - Shell Loop → User: shows prompt
Program.cs - Shell Loop → Command Parser: parses input
Program.cs - Shell Loop → Command Dispatcher: dispatches tokens
Program.cs - Command Dispatcher → Directory Commands: handles directory commands
Program.cs - Command Dispatcher → Process Runner: runs applications
Program.cs - Command Dispatcher → Console Controls: clears console
Program.cs - Directory Commands → Filesystem: changes or creates directories
Program.cs - Process Runner → Child Process: starts and waits
Program.cs - Process Runner → Error Reporting: reports failures
Program.cs - Directory Commands → Error Reporting: reports invalid paths
Program.cs