You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create the structure for a function that produces ASCii diagrams of the architecture of a shell script/function.
Details
This work should be merged into the feature/generateArchitectureDiagram branch rather than main so it can be worked on across multiple issues prior to being merged to main.
Create the directory, the .sh file, the util directory, and the file(s) that are known to be needed. They do not need to be fully filled out.
Part of the work here will be choosing a name for this function.
Testing
Because this will be skeleton code, it won't be final or complete. As a result, full coverage is not needed. However, an outline of what will be needed, including the directories, README.md files, and some of the unit testing files should be included.
Artifact(s)
PR with:
Directory at the root of this repository with the same name as the function.
A .sh file within this directory with the name of the function:
An outline of the function's code.
A README.md file within the directory with the same name as the function.
A util directory within the directory named after the function:
A constants.sh file with an outline of what will be in the file.
A main.sh file with an outline of what will be in the file.
Any other .sh files that are anticipated to be needed at this point:
One example would be a function for drawing lines between "boxes" (the output of output --pretty -m=<someText>).
Overview
Create the structure for a function that produces ASCii diagrams of the architecture of a shell script/function.
Details
This work should be merged into the
feature/generateArchitectureDiagrambranch rather thanmainso it can be worked on across multiple issues prior to being merged tomain.Create the directory, the
.shfile, theutildirectory, and the file(s) that are known to be needed. They do not need to be fully filled out.Part of the work here will be choosing a name for this function.
Testing
Because this will be skeleton code, it won't be final or complete. As a result, full coverage is not needed. However, an outline of what will be needed, including the directories,
README.mdfiles, and some of the unit testing files should be included.Artifact(s)
.shfile within this directory with the name of the function:README.mdfile within the directory with the same name as the function.utildirectory within the directory named after the function:constants.shfile with an outline of what will be in the file.main.shfile with an outline of what will be in the file..shfiles that are anticipated to be needed at this point:output --pretty -m=<someText>)..shtest files:utildirectory:constants_spec.shfile:main_spec.shfile, depending on the findings of Includemain.shFiles in Unit Test Coverage Report #16:utilfunction added:.ymlfile in [shell-functions/.github/workflows/](https://github.com/ReedClanton/shell_base/tree/main/.github/workflows) namedtesting_unit-.yml`:Scope
Scope is difficult to strictly define. If it's outside of what's listed in the Artifact(s) section, think twice.
Open a PR for This Issue
Relationship(s)
Blocked By
The existence of unit tests (#2, #16), running them in the pipeline (#3), and displaying the status of them (#4, #5), are more important that this.
Blockers
None.