Skip to content

A beanstalkd CLI based on the official go-beanstalk lib

License

Notifications You must be signed in to change notification settings

godsarmy/beanstalk-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beanstalk-cli

A full functional beanstalkd CLI for beanstalkd.

Features

  • Full featured CLI to implement each command of beanstalkd protocol.
  • Connect to beanstalkd server in tcp mode or unix socket mode.
  • Output can be formatted to JSON.

Example

  • Put a job
$ beanstalk put -a tcp://127.0.0.1:11300 foobar
id:	2
  • Reserve a job
$ beanstalk reserve -a tcp://127.0.0.1:11300
id:  	1
body:	2222
  • Bury a job
$ beanstalk-cli bury -a tcp://127.0.0.1:11300 2
id:  	2
body:	foobar
  • Delete a job
$ beanstalk-cli delete -a tcp://127.0.0.1:11300 2
  • Connect to a server listening on unix socket
$ beanstalkd -l unix:///tmp/beanstalkd.sock &
$ beanstalk-cli stats -a unix:///tmp/beanstalkd.sock

Development

This CLI tools is wrtten in golang, based on the official go-beanstalk lib.

About

A beanstalkd CLI based on the official go-beanstalk lib

Resources

License

Stars

Watchers

Forks

Packages

No packages published