script_template

0

Описание

“Bash Script Template Framework” for `script_template.sh` in minimal configuration

Языки

  • Shell99,7%
  • Makefile0,3%
год назад
год назад
год назад
год назад
год назад
README.md

TODO: Current state:** code_review
Suggestions
Stopped here

“Bash Script Template Framework” for
script_template.sh
in minimal configuration

This project provides a modular, test-driven Bash script framework for writing robust, maintainable, and production-ready shell scripts. It includes best practices like strict mode, safe variable initialization, debug toggling, error trapping, and optional environment configuration support.


📁 Project Structure

Guides

LLM assisted refactoring

To automate prompting and better understand the context of the current workflow use

code_review_query_generator.sh
.

The code review generator should be located at the root of the working directory in the

code_review
folder (e.g. for the development of the sections). It is advisable to add a new one for each new project or task.

To start new task or subproject - start a new version. For that copy the root with the version up, clean up old unnecessary files and iterate the code review process (e.g.

.../minimal/v.14/README.md
).

Actual state of the conversation must be indicated in the function

collect_query_text
of the
code_review_query_generator.sh
, so conversation log would be actual. To generate nice
tree
output, use test-tree.

For debugging or precision part development, use debugger. It keeps versioned logs of the conversations and captures file changes.

TODO: Assembling

TODO: Testing

Sources

Parts

head

sections

functions