How snuc1925/tinyshell works
Project type and purpose
• From the file tree and README, this is a small command-line shell (“TinyShell”) written in C++.
• It implements a simple CLI interpreter that reads user input, dispatches built-in commands (file and process operations), and delegates to the OS.
File structure
• Top-level:
• main.cpp – entry point, CLI loop
• command_manager.{cpp,h} – core dispatcher for commands
• utils.h – shared helper functions (e.g., string parsing)
• commands/ directory:
• file_commands.h – file-system related commands (e.g., ls, cd, rm)
• process_commands.h – process management commands (e.g., fork, exec, kill)
• Build artifacts: main.exe, .gitignore
README
• No external services or databases—everything runs in process and uses OS syscalls.