Built and documented more logic functions, started an exit codes help section adding exit codes as I go. Ceated a tester script for testing logic functions from functions.lib.sh without the need to run the entire code base.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
## DebMirror Manager Variables Declarations Library
|
||||
|
||||
declare etcdirectory="/etc/debmirrorman"
|
||||
|
||||
declare -A commands=(
|
||||
[add]="doAddRepo"
|
||||
[dryrun]="doTestRepo"
|
||||
@@ -36,6 +38,7 @@ declare -A helpercommands=(
|
||||
[add]="doHelperAdd"
|
||||
[dryrun]="doHelperTestRepo"
|
||||
[edit]="doHelperEditRepo"
|
||||
[exitcodes]="doHelperExitCodes"
|
||||
[list]="doHelperListRepos"
|
||||
[remove]="doHelperRemoveRepo"
|
||||
[usage]="doHelperRepoUsage"
|
||||
@@ -44,3 +47,7 @@ declare -A helpercommands=(
|
||||
[silentrun]="doHelperQuietSyncRepos"
|
||||
[update]="doHelperUpdater"
|
||||
)
|
||||
|
||||
declare localfqdn
|
||||
declare -a localrepos
|
||||
declare -A prettynames
|
||||
|
||||
Reference in New Issue
Block a user