App-Memcached-CLI
view release on metacpan or search on metacpan
- Feature: add optional argument for "stats" and "settings" to filter
results
v0.5.4 2016-03-24T11:50:04Z
- Update documentation. Add commands info into script Pod.
v0.5.3 2016-03-24T07:54:41Z
- Feature: implement "flush_all" command to invalidate whole data in
Memcached
v0.5.2 2016-03-24T07:42:15Z
- Feature: implement "version" command to show server version
v0.5.1 2016-03-24T07:31:50Z
- Feature: implement "delete" command to delete item in Memcached
- **decr** _KEY_ _VALUE_
Subtract numeric _VALUE_ from a data with specified _KEY_.
- **delete** _KEY_
Deletes one item in memcached by specified _KEY_.
- **flush\_all|flush** \[_DELAY_\]
Invalidates all data in memcached by `flush_all` command.
With _DELAY_ option, invalidation is delayed for specified seconds.
See official documentation of _memcached_ for details.
- **call** _COMMAND_ \[_ARGS_ ...\]
Executes any commands given as arguments.
With this command, you can execute any command against Memcached including what
lib/App/Memcached/CLI/Help.pm view on Meta::CPAN
+{
command => 'delete',
summary => 'Delete data by KEY',
description => <<'EODESC',
Usage:
> delete <KEY>
EODESC
},
+{
command => 'flush_all',
summary => 'Invalidate whole data',
description => <<'EODESC',
Usage:
> flush_all [<DELAY>]
> flush_all # Invalidate immediately
> flush_all 60 # Invalidate after 60 seconds
EODESC
},
+{
command => 'call',
summary => 'Execute any command',
description => <<'EODESC',
Description:
This command executes any commands given as arguments.
Usage:
> call version
script/memcached-cli view on Meta::CPAN
=item B<decr> I<KEY> I<VALUE>
Subtract numeric I<VALUE> from a data with specified I<KEY>.
=item B<delete> I<KEY>
Deletes one item in memcached by specified I<KEY>.
=item B<flush_all|flush> [I<DELAY>]
Invalidates all data in memcached by C<flush_all> command.
With I<DELAY> option, invalidation is delayed for specified seconds.
See official documentation of I<memcached> for details.
=item B<call> I<COMMAND> [I<ARGS> ...]
Executes any commands given as arguments.
With this command, you can execute any command against Memcached including what
( run in 0.495 second using v1.01-cache-2.11-cpan-4d50c553e7e )