Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdded command line hook scripts(done/exit). #389
Conversation
Added command line hook scripts(done/exit).
This comment has been minimized.
This comment has been minimized.
|
Thanks for the PR! Released as 0.55.0. I renamed Out of curiosity, what do you plan to use these hooks for? |
This comment has been minimized.
This comment has been minimized.
|
These hooks are designed for running on single board computer(such as On Thu, Jul 30, 2015 at 2:32 AM, Feross Aboukhadijeh <
|
solderzzc commentedJul 29, 2015
Give a chance for the programs use webtorrent cli to run scripts when download done or exit.
For example:
exit.sh
!/bin/bash
echo "exiting" > info.txt
echo "Torrent filename : $1" >> info.txt
echo "Torrent path : $2" >> info.txt
echo "Torrent magentURI : $3" >> info.txt