simplifies title generation
This commit is contained in:
@@ -8,11 +8,10 @@ For readable progress report on any script with ease.
|
||||
|
||||
Anotate your script with formatting helpers by using pipe construct
|
||||
|
||||
*Example*
|
||||
|
||||
The header of your script
|
||||
```
|
||||
echo "Script title" | title
|
||||
echo "Author: You" | subtitle
|
||||
echo "Author: You" | title
|
||||
```
|
||||
|
||||
Tasks are wrapped by the `section`, `output` and `result` helpers.
|
||||
@@ -20,7 +19,6 @@ The flow is :
|
||||
1. Print `section` header
|
||||
2. Use `output` helpers to display the output you want generated
|
||||
3. Close your section with `result`
|
||||
|
||||
```
|
||||
echo "Task number One" | section
|
||||
echo "This will work" | output::info
|
||||
|
||||
Reference in New Issue
Block a user