|
BashSpark
|
Defines the bs::command interface and built-in shell commands. More...


Go to the source code of this file.
Classes | |
| class | bs::command |
| Abstract base class for all shell commands. More... | |
| class | bs::command_echo |
| Built-in command that prints all arguments to stdout. More... | |
| class | bs::command_eval |
| Built-in command that evaluates its arguments as a shell command. More... | |
Namespaces | |
| namespace | bs |
| BashSpark main namespace. | |
Defines the bs::command interface and built-in shell commands.
This file provides the base class command for shell commands and several concrete commands such as echo, eval, getenv, getvar, setenv, setvar, and seq. Each command can be executed within a shell session and provides virtual error-handling methods to allow custom behavior, including internationalization.
This file is part of BashSpark. Copyright (C) 2025 Dante Doménech Martínez
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.