allow delegator to download and open files
This commit is contained in:
parent
f0f034fc3e
commit
98a40da3eb
@ -28,6 +28,7 @@ selection
|
|||||||
run
|
run
|
||||||
otp
|
otp
|
||||||
student
|
student
|
||||||
|
curl
|
||||||
HERE
|
HERE
|
||||||
)"
|
)"
|
||||||
|
|
||||||
@ -58,4 +59,10 @@ case "$choice" in
|
|||||||
choice="$(pick < /data/courses/students.csv)"
|
choice="$(pick < /data/courses/students.csv)"
|
||||||
inject "$choice"
|
inject "$choice"
|
||||||
;;
|
;;
|
||||||
|
'curl')
|
||||||
|
d="$(mktemp -d)"
|
||||||
|
trap "rm -r '$d'" EXIT KILL
|
||||||
|
cd "$d"
|
||||||
|
curl -OJ "$(xclip -o)"
|
||||||
|
rifle -fF *
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user