feat(package): hemar: antlr grammar, but still does not work
This commit is contained in:
21
package/hemar/parser/src/plex/plex.sh
Normal file
21
package/hemar/parser/src/plex/plex.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/dash
|
||||
|
||||
init_plex() {
|
||||
local backend
|
||||
backend=${1:?}
|
||||
|
||||
case "$backend" in
|
||||
env)
|
||||
. ${WORKSPACE}/src/plex/backend/env_var.sh
|
||||
;;
|
||||
file)
|
||||
. ${WORKSPACE}/src/plex/backend/file.sh
|
||||
;;
|
||||
yq-go)
|
||||
. ${WORKSPACE}/src/plex/backend/yq-go.sh
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
Reference in New Issue
Block a user