blob: 5838dd5fcd5830ae7b2fd1ee4cbab4be4b6c884e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
set -e
recfile=$(recit-file)
if [[ "$1" = "" ]]; then
out=$(recsel -t Project "$recfile" | recfmt -f "$_RECIT_ROOT/share/recit/templates/projects.templ")
else
out=$(recsel -t Project "$recfile" -e "$1" | recfmt -f "$_RECIT_ROOT/share/recit/templates/projects.templ")
fi
echo -e "$out"
|