Page 1 of 1

CLI?

Posted: 04 Sep 2019 16:11
by arowana
Are there CLI commands for muwire so that I can run it from a headless node?

Re: CLI?

Posted: 10 Sep 2019 09:45
by arowana
To answer my own questions.
It's properly documented right here: http://muwire.i2p/muwire-cli.txt

Re: CLI?

Posted: 25 Oct 2019 16:51
by zlatinb
There is a new CLI available which has almost all the features of the GUI! You need to build from source https://github.com/zlatinb/muwire or wait for me to make periodic releases on Postman's tracker.

Re: CLI?

Posted: 28 Oct 2019 21:59
by arowana
Tried it. Looks interesting and it seems to be ncurses based? Saw some crashes. Will post traceback somewhere if it's of any use.

Any chance of making it scriptable as in:
./cli search *.iso and just have it output a list to stdout?
or
./cli download linux-latest.iso to fetch the iso and put it in a directory specified in the config, or in a directory specified in the command line?

Re: CLI?

Posted: 28 Oct 2019 22:04
by zlatinb
The crashes should be gone with version 0.5.4 which is now available on http://muwire.i2p (but github is of course still ahead). If you saw crashes with that version please let me know.

I'm not going to be working on the older cli anymore, and making it script-able is not very straightforward - there needs to be a port open or a domain socket or such. If someone wants to contribute a patch I will accept it of course.