56 个仓库
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.
该项目是一个静态分析工具和 linter,旨在提高 shell 脚本的质量、可靠性和可移植性。通过执行深度结构分析,它在脚本执行前识别常见的编程陷阱、语法错误和安全漏洞。它作为一个自动代码审查器,强制执行最佳实践,并帮助开发人员在不同的操作环境中维护一致、健壮的代码。 该工具通过其支持方言的语法解析脱颖而出,它根据检测到的特定 shell 解释器调整其解析逻辑。它利用一个复杂的引擎来构建抽象语法树,以评估逻辑、引用和可移植性问题。开发人员可以使用内联指令来抑制特定警告或配置工具如何解析外部源文件,从而对分析过程进行细粒度控制。 该项目涵盖了全面的诊断功能,从基础语法验证到复杂的逻辑检查。它提供了关于惯用脚本构建的指导,包括安全的文件处理、高效的算术运算和正确的命令替换。这些功能共同确保脚本符合 POSIX 标准,并在各种 shell 实现中保持兼容。 该工具作为命令行实用程序分发,允许集成到开发工作流中,以提供关于脚本完整性的即时反馈。
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 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
Automated testing system for validating shell scripts.
Comprehensive guide for learning shell scripting fundamentals.
This project is a collection of specialized shell frameworks that provide object-oriented programming patterns, unit testing tools, and a standard utility library for Bash scripts. It enables the organization of script logic through the implementation of classes, objects, and singleton design patterns to create modular and reusable components. The framework includes a dedicated exception handling library that captures command failures using try-catch blocks and stores error metadata in objects. It also provides a unit testing framework that executes shell commands as independent test cases an
Object-oriented boilerplate and standard library for shell.
Shellharden 是一个 Shell 脚本加固工具和 linter,旨在提高 Bash 脚本的安全性和可靠性。它作为一个自动化工具,重写脚本以遵循行业标准的引用和安全实践。 该项目提供了一个优化器和标准化工具,用更安全的函数等效项替换不安全的模式和别名。它包含一个语法高亮器,使用视觉标记和颜色来指示漏洞以及需要进行引用修正的区域。 该工具涵盖了广泛的功能,包括自动安全修复、漏洞检测和脚本错误检测。这些功能通过自动重写和结构化语法验证确保脚本的一致性。
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.