commandline functions (#106)

* use f function_name to inject to any function

* update README
This commit is contained in:
paukstelis
2023-07-20 09:54:15 -04:00
committed by GitHub
parent 5a7cde9a00
commit 82811a797e
2 changed files with 10 additions and 12 deletions

View File

@@ -51,8 +51,8 @@ fi
if [ "$1" == noserial ]; then
NOSERIAL=1
fi
if [ "$1" == deb_packages ]; then
deb_packages
#let's make it possibly to inject any function directly
if [ "$1" == f ]; then
$2
fi
main_menu