|
BashSpark
|
Implements class bs::command. More...
#include "BashSpark/command.h"#include <limits>#include <ostream>#include <regex>#include <sstream>#include <BashSpark/shell/shell_parser.h>#include "shell/shell_tools.h"#include "BashSpark/shell/shell_session.h"#include "BashSpark/tools/fakestream.h"#include "BashSpark/tools/hash.h"
Namespaces | |
| namespace | bs |
| BashSpark main namespace. | |
Implements class bs::command.
Provides an interface define 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/.