56 Repos
Frameworks, testing tools, and utilities for writing shell scripts.
Explore 56 awesome GitHub repositories matching part of an awesome list · Shell Script Development. Refine with filters or upvote what's useful.
This project is a curated knowledge base and technical reference for shell scripting, focused on performing common system tasks using only built-in shell features. It serves as a guide for implementing logic and automation without relying on external binaries or dependencies, ensuring scripts remain portable across standard Unix-like environments. The repository distinguishes itself by emphasizing native shell functions and syntax to minimize process forking and improve execution performance. It provides idiomatic patterns for complex string transformations, pattern matching, and data flow ma
Collection of pure shell alternatives to external system processes.
Dieses Projekt ist ein statisches Analysetool und Linter, das darauf ausgelegt ist, die Qualität, Zuverlässigkeit und Portabilität von Shell-Skripten zu verbessern. Durch eine tiefgehende strukturelle Analyse identifiziert es häufige Programmierfallen, Syntaxfehler und Sicherheitslücken, bevor Skripte ausgeführt werden. Es fungiert als automatisierter Code-Reviewer, der Best Practices durchsetzt und Entwicklern hilft, konsistenten, robusten Code über verschiedene Betriebsumgebungen hinweg zu pflegen. Das Tool zeichnet sich durch seine dialektbewusste Grammatikauflösung aus, die seine Parsing-Logik basierend auf dem erkannten spezifischen Shell-Interpreter anpasst. Es nutzt eine hochentwickelte Engine, die einen abstrakten Syntaxbaum konstruiert, um Logik, Quoting und Portabilitätsbedenken zu bewerten. Entwickler können durch die Verwendung von Inline-Direktiven eine granulare Kontrolle über den Analyseprozess ausüben, um spezifische Warnungen zu unterdrücken oder zu konfigurieren, wie das Tool externe Quelldateien auflöst. Das Projekt deckt eine umfassende Oberfläche an Diagnosefähigkeiten ab, die von grundlegender Syntaxvalidierung bis hin zu komplexen Logikprüfungen reicht. Es bietet Anleitungen zur idiomatischen Skriptkonstruktion, einschließlich sicherer Dateibehandlung, effizienter arithmetischer Operationen und korrekter Befehlssubstitution. Diese Funktionen stellen gemeinsam sicher, dass Skripte POSIX-Standards einhalten und über verschiedene Shell-Implementierungen hinweg kompatibel bleiben. Das Tool wird als Befehlszeilen-Dienstprogramm vertrieben, was die Integration in Entwicklungsworkflows ermöglicht, um sofortiges Feedback zur Skriptintegrität zu geben.
Static analysis tool to detect bugs in shell scripts.
This project is a POSIX shell toolset providing utilities for parsing, formatting, interpreting, and validating shell scripts. It includes a parser that converts Bash and Zsh source code into structured syntax trees, a formatter for standardizing script layout, and a runtime interpreter for executing shell commands and script logic. The toolset supports dialect-aware parsing to handle multiple shell language specifications. It provides capabilities for static analysis, allowing shell source code to be converted into structured data for external manipulation or validation against specific dial
Formatter for cleaning up and standardizing shell code.
DevOps-Bash-tools is a collection of shell scripts and aliases designed to automate cloud infrastructure, container orchestration, and CI/CD pipelines. It provides a comprehensive toolset for managing operational workflows through the command line. The project specializes in automating tasks across multiple platforms, including managing namespaces and secrets in Kubernetes, auditing resources in AWS and GCP, and triggering builds or managing environment variables in GitHub Actions, GitLab CI, and CircleCI. It also includes a toolkit for interacting with container registries to query manifests
Extensive collection of DevOps-focused shell scripts and utilities.
This project is a collection of specialized toolkits designed for container interaction, Java library auditing, Linux system diagnostics, and shell task automation. It provides a suite of utilities to streamline developer workflows and system troubleshooting. The toolkit includes a Docker container helper for executing local binaries within running containers and a Java dependency analyzer to detect duplicate classes and resolve library conflicts. It also features Linux system diagnostic tools for analyzing network connection states and identifying CPU-intensive threads. The project covers b
Includes a utility that displays script arguments with color-coded delimiters for input verification during development.
BATS ist ein Test-Framework und ein Automatisierungstool für Shell-Skripte und Unix-Programme. Es fungiert als Test-Runner, der das Verhalten von Shell-Skripten validiert, indem er den Erfolg von Befehlen und Exit-Codes durch automatisierte Test-Suiten verifiziert. Das Framework bietet eine kompatible Schnittstelle für das Test Anything Protocol (TAP), wodurch Ergebnisse für die Integration in externe Reporting-Tools und Build-Pipelines exportiert werden können. Es unterstützt zudem die Verwendung von Container-Images, um eine konsistente Ausführung von Test-Suiten über verschiedene Betriebssysteme hinweg sicherzustellen. Das System verwaltet die automatisierte Ausführung von Testfällen, einschließlich der Validierung des Shell-Skript-Verhaltens und der Generierung standardisierter Berichte.
Automated testing system for validating shell scripts.
Comprehensive guide for learning shell scripting fundamentals.
Dieses Projekt ist eine Sammlung spezialisierter Shell-Frameworks, die objektorientierte Programmiermuster, Unit-Testing-Tools und eine Standard-Utility-Bibliothek für Bash-Skripte bereitstellen. Es ermöglicht die Organisation von Skriptlogik durch die Implementierung von Klassen, Objekten und Singleton-Entwurfsmustern, um modulare und wiederverwendbare Komponenten zu erstellen. Das Framework enthält eine dedizierte Bibliothek zur Ausnahmebehandlung, die Befehlsfehler mittels Try-Catch-Blöcken abfängt und Fehlermetadaten in Objekten speichert. Es bietet zudem ein Unit-Testing-Framework, das Shell-Befehle als unabhängige Testfälle ausführt und Exit-Codes überwacht, um Fehler zu erkennen. Zusätzliche Funktionen decken das Anwendungs-Log-Management mit schweregradbasiertem Stream-Routing sowie die Formatierung von Terminal-Benutzeroberflächen ab, um Farben und Symbole auf Konsolenausgaben anzuwenden. Die Standardbibliothek enthält zudem Tools zur Manipulation komplexer Datentypen wie Arrays, Strings und Zahlen.
Object-oriented boilerplate and standard library for shell.
Shellharden is a shell script hardening tool and linter designed to improve the security and reliability of Bash scripts. It functions as an automated utility that rewrites scripts to follow industry standards for quoting and security practices. The project provides an optimizer and standardizer that replaces unsafe patterns and aliases with safer functional equivalents. It includes a syntax highlighter that uses visual markers and colorization to indicate vulnerabilities and areas where quoting corrections are required. The tool covers a broad range of capabilities including automated safet
Tool for writing safer and more robust shell scripts.
A language server for Bash
LSP-based language server for Bash.
Bash command line framework and CLI generator
CLI generator and framework for building command line applications.
Templates to write better Bash scripts
Standardized templates for writing high-quality shell scripts.
Unit testing framework inspired by JUnit for shell scripts.
Bash argument parsing code generator
Code generator for creating argument parsing logic.
A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells
BDD unit testing framework for POSIX shells.
A repository of namespaced, composable shell (bash, sh and dash) function libraries. Takes aware the pain of shell scripting, making it robust and reusable. Includes secure curl usage, JSON, XML and Debian control file parsers, dependency documentation via attributes, and more. Batteries ARE included.
Library of composable shell functions.
Modernish is a library for writing robust, portable, readable, and powerful programs for POSIX-based shells and utilities.
Library providing advanced features for portable shell scripting.
ANSI escape codes in pure bash - change text color, position the cursor, much more
Library for managing ANSI escape codes and terminal formatting.
A collection of modules to simplify writing bash scripts.
Collection of utility libraries to simplify script development.
Mustache templates in pure bash
Mustache template engine implemented in pure shell.