Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (9 sloc) 0.23 kB
#!/bin/bash
function getattr {
echo "$INFO"|grep -E "^$1\b"|awk '{print $3}'
}
INFO=$(onetemplate show $1)
ID=`getattr ID`
NAME=`getattr NAME`
echo onetemplate instantiate $ID -n $NAME
onetemplate instantiate $ID -n $NAME
Jump to Line
Something went wrong with that request. Please try again.