diff --git a/sequencer.sh b/sequencer.sh index 82e69c2..9ef798d 100755 --- a/sequencer.sh +++ b/sequencer.sh @@ -180,119 +180,6 @@ sequencer.sh global variables: Profile string selected with -p argument sequencer.sh build-in functions: -USAGE_API - echo -e "$(col green) root$(col off)" - cat <,<,|). - Supporting: dry-run (-d): only print command without execution - verbose (-v): print command before execution - -USAGE_API - echo -e "$(col green) exep \"[COMMAND STRING(s)]\"$(col off)" - cat < \\'out put.log\\' - exep echo hello world \\> out\\\\ put.log - exep "echo hello world > 'out put.log'" - exep "echo hello world > out\\ put.log" - Important: - - Shell commands cd, read, ... won't work because [COMMAND STRING(s)] is started in a new shell. - - All apostrophes need to be esacped since the command line is given as string. - -USAGE_API - echo -e "$(col green) escpath $(col off)" - cat < [TEMPLATE]$(col off)" - cat < [SOURCE TYPE] $(col off)" cat <$(col off)" + echo -e "$(col green) ask [OPTION] [QUESTION] [DEFAULT]$(col off)" cat < : Name without \$ [DESCRIPTION] : Additional text for error output -USAGE_API - echo -e "$(col green) saveReturn [ERRORCODE]$(col off)" - cat <$(col off)" + cat <,<,|). + Supporting: dry-run (-d): only print command without execution + verbose (-v): print command before execution + +USAGE_API + echo -e "$(col green) exep \"[COMMAND STRING(s)]\"$(col off)" + cat < \\'out put.log\\' + exep echo hello world \\> out\\\\ put.log + exep "echo hello world > 'out put.log'" + exep "echo hello world > out\\ put.log" + Important: + - Shell commands cd, read, ... won't work because [COMMAND STRING(s)] is started in a new shell. + - All apostrophes need to be esacped since the command line is given as string. + +USAGE_API + echo -e "$(col green) exists [OPTIONS] [ELEMENT]$(col off)" + cat < [TEMPLATE]$(col off)" + cat <$(col off)" + cat <