Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chemaclass/bash-skeleton

A skeleton to build your bash cli-app.
https://github.com/chemaclass/bash-skeleton

bash cli-app skeleton-application

Last synced: 8 days ago
JSON representation

A skeleton to build your bash cli-app.

Awesome Lists containing this project

README

        

# bash-skeleton

This skeleton provides a strong yet simple foundation, making it easy to start building robust Bash scripts with a
well-structured architecture.

## Features

- **Dependency Management**: Uses [bashdep](https://github.com/Chemaclass/bashdep) for managing dependencies.
- Install with: `install-dependencies.sh`

- **Testing**: Integrates [bashunit](https://github.com/TypedDevs/bashunit/) for testing.
- Tests in: `tests/`

- **Source Structure**: Organize functions in different files.
- Source in: `src/`

- **Entry Point**: Ready to handle arguments and options.
- Script: `./entry-point`

- **Build System**: Bundle your project into a single executable.
- Use: `./build.sh`

- **CI**: Automates linting, static analysis, and tests on commits/PRs.
- Workflows in: `.github/workflows/`

- **Pre-commit Hook**: Optional hook for running tests, linter, and analysis.
- Script: `bin/pre-commit`

- **Makefile**: Simplifies project management with basic commands.
- Available in: `Makefile`

## Inspired by

This skeleton is the result of building other projects like:

- bashunit: https://github.com/TypedDevs/bashunit
- create-pr: https://github.com/Chemaclass/create-pr
- bashdep: https://github.com/Chemaclass/bashdep
- release: https://github.com/Purpose-Green/release

## Contribute

Suggestions, ideas and PRs are more than welcome here!
Please, Check out our [CONTRIBUTING.md](.github/CONTRIBUTING.md) guidelines.