src-d / beanstool

Dependency free beanstalkd admin tool
MIT License
155 stars 32 forks source link

How can I connect to a remote beanstalkd instance? #2

Closed pkaeding closed 9 years ago

pkaeding commented 9 years ago

https://github.com/tyba/beanstool/blob/master/cli/command.go#L14 makes it look like this might be possible, but the usage message doesn't give any hints.

Can I use beanstool to manage a remote beanstalk instance?

Thanks!

mcuadros commented 9 years ago

Of course just use -h arg and your host

pkaeding commented 9 years ago

Ahh, thanks. It seems -h conflicts with the usage message (aka --help), but --host=my.beanstalk.host:11300 seems to work.

bonswouar commented 9 years ago

Just in case someone encounter the problem I just had : the --host option has to be after the command name, otherwise it throws unknown flag 'host'.