CLI vs REPL
what the f**k is REPL
CLI ( command-line-Interface)
CLI is a text based interface, which is used to execute commands that interacts with the operating system and other softwares.
CLI doesn't maintain a state between commands (unless explicitly done for .e.g env variables)
Example: Bash,Zsh, CmdCLI
REPL ( Read - Eval - Print - Loop)
REPL is a type of CLI which is primarily designed for interactive programming.
It reads the user’s input, evaluates it as code, prints result and then waits for the next input.
Unlike CLI it retains state.
Example: Python Interpreter
Are Database SHELL a REPL?
Not really, even though their interactivity are similar, database shells are not designed for general-purpose programming but for querying and managing databases.



