Hi all,
Since I fold mainly on linux, I found the lack of a cli for the folding at home client more than a little annoying.
Then I remembered I'm a software developer and could probably cobble together something that would serve my purpose.
But why stop there? perhaps some of you have features you would like to see in a tool like this?
Currently command list is:
Commands:
--help ----------------- Show this message
--version ----------------- Print out current version of fah-cli
stats [donor Name] ----------------- Performs curl request to fetch donor stats
showlog [?number of lines to display] ----------------- Prints the current log.txt
showconf ----------------- Prints the current config.xml
clientversion ----------------- Shows dpkg information about the fahclient
controlversion ----------------- Shows dpkg information about fahcontrol
clientstatus ----------------- Prints the fahclients status
startclient ----------------- Starts the fahclient
stopclient ----------------- Stops the fahclient
restartclient ----------------- Restarts the fahclient
It should be noted that some of the commands require sudo privilege, which is not ideal but can't really be helped.
So, like I said, do you have any wishes for such a tool? any concerns?
Since I fold mainly on linux, I found the lack of a cli for the folding at home client more than a little annoying.
Then I remembered I'm a software developer and could probably cobble together something that would serve my purpose.
But why stop there? perhaps some of you have features you would like to see in a tool like this?
Currently command list is:
Commands:
--help ----------------- Show this message
--version ----------------- Print out current version of fah-cli
stats [donor Name] ----------------- Performs curl request to fetch donor stats
showlog [?number of lines to display] ----------------- Prints the current log.txt
showconf ----------------- Prints the current config.xml
clientversion ----------------- Shows dpkg information about the fahclient
controlversion ----------------- Shows dpkg information about fahcontrol
clientstatus ----------------- Prints the fahclients status
startclient ----------------- Starts the fahclient
stopclient ----------------- Stops the fahclient
restartclient ----------------- Restarts the fahclient
It should be noted that some of the commands require sudo privilege, which is not ideal but can't really be helped.
So, like I said, do you have any wishes for such a tool? any concerns?