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
Copy file name to clipboardExpand all lines: README.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,5 +4,28 @@
4
4
5
5
**Bash-Lib** is a library of common [bash](https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29) routines used in projects based on the [a-bash-template (BaT)](https://github.com/richbl/a-bash-template) project. This library is broken into two files:
6
6
7
-
-`General`: Routines created to check program and file dependencies, banner display, *etc*.
8
-
-`Args`: Routines created to manage command-line argument parsing
7
+
-`general`: Routines created to:
8
+
- Check program dependencies
9
+
- Check file dependencies
10
+
- Format and display a program banner, e.g.,
11
+
>>
12
+
|
13
+
| A bash template (BaT) to ease argument parsing and management
14
+
| 0.2.0
15
+
|
16
+
| Usage:
17
+
| bash_template.sh -a alpha -b bravo [-c charlie] -d delta
18
+
|
19
+
| -a, --alpha alpha (something descriptive)
20
+
| -b, --bravo bravo (something descriptive)
21
+
| -c, --charlie charlie (this is optional)
22
+
| -d, --delta delta (something descriptive)
23
+
|
24
+
25
+
-`args`: Routines created to:
26
+
- Parse a JSON file for program configuration details
27
+
- Scan command-line arguments for accuracy and completeness
28
+
29
+
For details on how the various routines of this library project are used, see the [A-Bash-Template (BaT)](https://github.com/richbl/a-bash-template#a-bash-template) project.
30
+
31
+
> Note that this project is managed as a Git [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) project specifically to keep projects that use this library up-to-date without manual intervention.
0 commit comments