memcached-cli
Memcached CLI
Last updated 10 months ago by pd4d10 .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install memcached-cli 
SYNC missed versions from official npm registry.

memcached-cli

A simple memcached CLI tool, with SASL supported. Built upon memjs.

Build Status npm License

Installation

# npm
npm install -g memcached-cli
# yarn
yarn global add memcached-cli

Usage

Run

> memcached-cli host:port

to enter interactive shell. If host and port is not specified, localhost:11211 will be used.

If you use SASL auth, run

> memcached-cli username:password@host:port
Method Description Command
get Get the value of a key > get <key>
set Set the value of a key, default expires(s) is 0 > set <key> <value> [expires]
add Set the value of a key, fail if key exists > add <key> <value> [expires]
replace Overwrite existing key, fail if key not exists > replace <key> <value> [expires]
delete Delete a key > delete <key>
flush Flush all data > flush
stats Show statistics > stats

memcached-cli is built upon memjs. Visit memjs documentation for more information.

License

MIT

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |