kestrel-cli

Kestrel command-line interface
Download

kestrel-cli Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • hogelog
  • Publisher web site:
  • http://github.com/hogelog/

kestrel-cli Tags


kestrel-cli Description

kestrel-cli is a command-line interface for kestrel.Installpip install kestrel-cliUsage$ kestrel-cli --helpusage: /usr/local/bin/kestrel-cli {get,peek,set,delete} ...Kestrel CommandLine Interfaceoptional arguments: --help show this help message and exitsubcommands: kestrel commands {get,peek,set,delete} get get and remove an item from a queue peek get an item from a queue set add an item to a queue delete drop a queueGet$ kestrel-cli get --helpusage: /usr/local/bin/kestrel-cli get < queue-name >positional arguments: < queue-name > target queueoptional arguments: --help show this help message and exit -h < hostname > server hostname (default: 127.0.0.1) -p < port > server port (default: 22133) -f < file > output data file (default: STDOUT)Set$ kestrel-cli set --helpusage: /usr/local/bin/kestrel-cli set < queue-name > positional arguments: < queue-name > target queue < expiration > expiration time (default: 0)optional arguments: --help show this help message and exit -h < hostname > server hostname (default: 127.0.0.1) -p < port > server port (default: 22133) -f < file > input data file (default: STDIN) -d < data > input string dataExample$ kestrel-cli set foobar -d hello$ kestrel-cli get foobarhello$ kestrel-cli get foobarNone$ kestrel-cli set foobar -f hoge.json$ kestrel-cli get foobar{"hoge": "log"}Product's homepage


kestrel-cli Related Software