awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
niieani avatar

niieani/bash-oo-framework

0
View on GitHub↗
5,620 stars·243 forks·Shell·MIT·4 vuesgithub.com/niieani/bash-oo-framework/discussions↗

Bash Oo Framework

Ce projet est une collection de frameworks shell spécialisés qui fournissent des modèles de programmation orientée objet, des outils de test unitaire et une bibliothèque d'utilitaires standard pour les scripts Bash. Il permet d'organiser la logique de script via l'implémentation de classes, d'objets et de modèles de conception singleton pour créer des composants modulaires et réutilisables.

Le framework inclut une bibliothèque dédiée à la gestion des exceptions qui capture les échecs de commande via des blocs try-catch et stocke les métadonnées d'erreur dans des objets. Il fournit également un framework de test unitaire qui exécute des commandes shell comme des cas de test indépendants et surveille les codes de sortie pour détecter les échecs.

Des capacités supplémentaires couvrent la gestion des logs d'application avec routage de flux basé sur la sévérité et le formatage d'interface utilisateur en terminal pour appliquer des couleurs et des symboles à la sortie console. La bibliothèque standard inclut également des outils pour manipuler des types de données complexes, tels que les tableaux, les chaînes et les nombres.

Features

  • OO Pattern Implementations - Enables the organization of script logic through the implementation of classes, objects, and singleton design patterns.
  • Object-Oriented Programming - Implements object-oriented programming patterns and classes within Bash shell scripts for modularity.
  • Object-Oriented Scripting - Provides a framework for implementing object-oriented programming patterns and classes within Bash scripts.
  • Exception-Based Error Handling - Intercepts shell command failures using signal traps to simulate try-catch error handling blocks.
  • Shell Exception Libraries - Provides a dedicated system for capturing command failures and storing error metadata in objects.
  • Shell Standard Libraries - Provides a comprehensive collection of reusable functions for handling complex data types and system logging.
  • Object Simulation Namespaces - Simulates object-oriented behavior using variable prefixing and namespaces to organize related data and functions.
  • Bash Script Testing - Executes shell commands as independent test cases to identify failures through exit code monitoring.
  • Unit Testing Frameworks - Provides a framework for executing shell commands as independent test cases and monitoring exit codes.
  • Dynamic Method Invocation - Implements the process of resolving method names at runtime to execute specific shell functions.
  • Shell Expression Evaluators - Provides a mechanism to determine object properties by evaluating strings as expressions in the shell.
  • Shell Data Type Manipulators - Provides a set of specialized methods for processing strings, numbers, and arrays, including regex matching.
  • Dynamic State Variables - Tracks object properties and class instances by storing state in dynamically named global shell variables.
  • Application Log Routing - Routes system messages to different output streams based on severity levels for better debugging.
  • Category-Based Log Routing - Redirects log entries to different file descriptors based on severity levels to separate output streams.
  • Console Output Formatting - Applies colors and symbols to terminal text with automatic fallbacks for environments without visual support.
  • Terminal Output Formatting - Applies colors and symbols to console output with automatic fallbacks for restricted environments.
  • Shell Script Development - Object-oriented boilerplate and standard library for shell.

Historique des stars

Graphique de l'historique des stars pour niieani/bash-oo-frameworkGraphique de l'historique des stars pour niieani/bash-oo-framework

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait niieani/bash-oo-framework ?

Ce projet est une collection de frameworks shell spécialisés qui fournissent des modèles de programmation orientée objet, des outils de test unitaire et une bibliothèque d'utilitaires standard pour les scripts Bash. Il permet d'organiser la logique de script via l'implémentation de classes, d'objets et de modèles de conception singleton pour créer des composants modulaires et réutilisables.

Quelles sont les fonctionnalités principales de niieani/bash-oo-framework ?

Les fonctionnalités principales de niieani/bash-oo-framework sont : OO Pattern Implementations, Object-Oriented Programming, Object-Oriented Scripting, Exception-Based Error Handling, Shell Exception Libraries, Shell Standard Libraries, Object Simulation Namespaces, Bash Script Testing.

Quelles sont les alternatives open-source à niieani/bash-oo-framework ?

Les alternatives open-source à niieani/bash-oo-framework incluent : bats-core/bats-core — BATS is a testing framework and automation tool for shell scripts and Unix programs. It functions as a test runner… wren-lang/wren — Wren is an embeddable, class-based scripting language and bytecode interpreter. It provides a dependency-free virtual… goravel/goravel — Goravel is a full-featured development scaffold and framework for building web applications, REST APIs, and gRPC… idealvin/coost — Coost is a concurrent network framework and coroutine scheduler designed for building high-performance TCP, HTTP, and… catchorg/catch2 — Catch2 is a comprehensive framework for C++ software validation, providing an environment for unit testing,… doctest/doctest — doctest is a lightweight C++ unit testing framework and assertion library. It provides a single-header implementation…

Alternatives open source à Bash Oo Framework

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Bash Oo Framework.
  • bats-core/bats-coreAvatar de bats-core

    bats-core/bats-core

    6,115Voir sur GitHub↗

    BATS is a testing framework and automation tool for shell scripts and Unix programs. It functions as a test runner that validates the behavior of shell scripts by verifying command success and exit codes through automated test suites. The framework provides a compatible interface for the Test Anything Protocol, allowing it to export results for integration with external reporting tools and build pipelines. It also supports the use of container images to ensure consistent execution of test suites across different operating systems. The system manages the automated execution of test cases, inc

    Shell
    Voir sur GitHub↗6,115
  • wren-lang/wrenAvatar de wren-lang

    wren-lang/wren

    8,043Voir sur GitHub↗

    Wren is an embeddable, class-based scripting language and bytecode interpreter. It provides a dependency-free virtual machine designed for integrating dynamic script execution into host applications via a C API. The language is centered on a modern object-oriented model featuring inheritance, method overloading, and first-class functions. It utilizes a concurrent fiber runtime to manage lightweight, cooperatively scheduled execution paths without relying on operating system threads. The project includes a comprehensive suite of object-oriented primitives, closure-based state capture, and a m

    Wrenbytecodecfibers
    Voir sur GitHub↗8,043
  • goravel/goravelAvatar de goravel

    goravel/goravel

    4,749Voir sur GitHub↗

    Goravel is a full-featured development scaffold and framework for building web applications, REST APIs, and gRPC services using the Go programming language. It implements a model-view-controller architecture and provides a comprehensive toolkit for high-performance remote procedure call servers and clients. The framework is distinguished by its extensive integrated ecosystem, which includes a fluent object-relational mapper for database management and a dedicated command-line interface toolkit for administrative automation and project scaffolding. It features a driver-based service abstractio

    Goapiframeworkgo
    Voir sur GitHub↗4,749
  • idealvin/coostAvatar de idealvin

    idealvin/coost

    4,205Voir sur GitHub↗

    Coost is a concurrent network framework and coroutine scheduler designed for building high-performance TCP, HTTP, and RPC services. It provides a set of tools for handling non-blocking IPv4 and IPv6 communication, integrating SSL encryption and a lightweight execution engine that manages concurrent tasks using shared stacks. The project features a specialized JSON RPC implementation for exchanging structured data over encrypted connections and a high-performance logging system. This logging infrastructure supports topic-based routing, frequency filtering, and automated stack trace capture for

    C++benchmarkcoroutineflag
    Voir sur GitHub↗4,205
  • Voir les 30 alternatives à Bash Oo Framework→