d33db3e26771904719357277068794647ed6e2b5
bog
Bash Output Generator
Usage
Anotate your script with formatting helpers by using pipe construct
Example
echo "Script title" | title
echo "Author: You" | subtitle
Tasks are represented introduced by the section helper.
The flow is :
- Print
sectionheader - Use
outputhelpers to display the output you want generated - End your call with
result
echo "Task number One" | section
ls -l |& output
echo "Warning" | output::warning
ls /non_existent_file |& output
result
Todo list
- Have result optionnaly take a custom condition of success
- Parameters on output :
- Show errors as warning
- Silent output
Description
Languages
Shell
100%