New api function to manage seq configurations (create/use)

Seq template is generated by sequencer.sh; deleting static template
This commit is contained in:
2020-01-13 11:48:15 +01:00
parent 2e6984aac8
commit 4b4df3132a
3 changed files with 94 additions and 61 deletions

View File

@@ -1,53 +0,0 @@
#!/bin/bash
##
## Sequencer interface:
## - step_[1 - 255]_info [STEP NUMBER]
## functions providing short header for help and user interaction
## - step_[1 - 255]_alias
## (optional) provide a string as alias for this step number
## - step_[1 - 255] [STEP NUMBER]
## performing custom shell operations
##
step_1_info() { echo "Step $1 header"; }
step_1_alias() { ALIAS="begin"; }
step_1() {
exe cat '.no f"le'
saveReturn $?
}
step_2_info() { echo "Step $1 header"; }
step_2() {
echo -e "Zwei"
endReturn
echo zwo
}
step_3_info() { echo "Step $1 header"; }
step_3() {
echo drei
}
step_10_info() { echo "Step $1 header"; }
step_10() {
echo zehn
}
step_11_info() { echo "Step $1 header"; }
step_11_alias() { ALIAS="elf"; }
step_11() {
echo elf
}
# Sequence Revision
VERSION_SEQREV=3
# Workaround when called from different directory
# Not needed when path to sequencer is absolut
#
# It is recommended to copy or link sequencer.sh to
# /usr/local/bin
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >>/dev/null 2>&1 && pwd )"
# Path to local sequencer.sh script
. ${DIR}/./sequencer/sequencer.sh