AptLarder::CLI
Inherits Admiral::Command::Run / Admiral::Command / Reference / Object
Command-line interface built with Admiral.
Subcommands
server— start the caching proxyinfo— print version and Crystal build informationstats— show live proxy counters via the admin APIcache— manage the cache via the admin API (list / flush / invalidate)evict— trigger LRU / time-based eviction via the admin API
Usage
apt-larder server --config /etc/apt-larder.yml
apt-larder stats
apt-larder cache list --prefix deb.debian.org
apt-larder cache invalidate "deb.debian.org/debian/pool/main/pkg.deb"
apt-larder cache flush
apt-larder evict --max-age-days 7
Constants
HELP = {"description" => ""}
Command-line interface built with Admiral.
Subcommands
server— start the caching proxyinfo— print version and Crystal build informationstats— show live proxy counters via the admin APIcache— manage the cache via the admin API (list / flush / invalidate)evict— trigger LRU / time-based eviction via the admin API
Usage
apt-larder server --config /etc/apt-larder.yml
apt-larder stats
apt-larder cache list --prefix deb.debian.org
apt-larder cache invalidate "deb.debian.org/debian/pool/main/pkg.deb"
apt-larder cache flush
apt-larder evict --max-age-days 7
Class methods
description
Command-line interface built with Admiral.
Subcommands
server— start the caching proxyinfo— print version and Crystal build informationstats— show live proxy counters via the admin APIcache— manage the cache via the admin API (list / flush / invalidate)evict— trigger LRU / time-based eviction via the admin API
Usage
apt-larder server --config /etc/apt-larder.yml
apt-larder stats
apt-larder cache list --prefix deb.debian.org
apt-larder cache invalidate "deb.debian.org/debian/pool/main/pkg.deb"
apt-larder cache flush
apt-larder evict --max-age-days 7
run(*args, **params)
Command-line interface built with Admiral.
Subcommands
server— start the caching proxyinfo— print version and Crystal build informationstats— show live proxy counters via the admin APIcache— manage the cache via the admin API (list / flush / invalidate)evict— trigger LRU / time-based eviction via the admin API
Usage
apt-larder server --config /etc/apt-larder.yml
apt-larder stats
apt-larder cache list --prefix deb.debian.org
apt-larder cache invalidate "deb.debian.org/debian/pool/main/pkg.deb"
apt-larder cache flush
apt-larder evict --max-age-days 7
Instance methods
__rescue_from___Admiral__Error(e)
Command-line interface built with Admiral.
Subcommands
server— start the caching proxyinfo— print version and Crystal build informationstats— show live proxy counters via the admin APIcache— manage the cache via the admin API (list / flush / invalidate)evict— trigger LRU / time-based eviction via the admin API
Usage
apt-larder server --config /etc/apt-larder.yml
apt-larder stats
apt-larder cache list --prefix deb.debian.org
apt-larder cache invalidate "deb.debian.org/debian/pool/main/pkg.deb"
apt-larder cache flush
apt-larder evict --max-age-days 7
arguments
Command-line interface built with Admiral.
Subcommands
server— start the caching proxyinfo— print version and Crystal build informationstats— show live proxy counters via the admin APIcache— manage the cache via the admin API (list / flush / invalidate)evict— trigger LRU / time-based eviction via the admin API
Usage
apt-larder server --config /etc/apt-larder.yml
apt-larder stats
apt-larder cache list --prefix deb.debian.org
apt-larder cache invalidate "deb.debian.org/debian/pool/main/pkg.deb"
apt-larder cache flush
apt-larder evict --max-age-days 7
flags
Command-line interface built with Admiral.
Subcommands
server— start the caching proxyinfo— print version and Crystal build informationstats— show live proxy counters via the admin APIcache— manage the cache via the admin API (list / flush / invalidate)evict— trigger LRU / time-based eviction via the admin API
Usage
apt-larder server --config /etc/apt-larder.yml
apt-larder stats
apt-larder cache list --prefix deb.debian.org
apt-larder cache invalidate "deb.debian.org/debian/pool/main/pkg.deb"
apt-larder cache flush
apt-larder evict --max-age-days 7
help
sub(command, *args, **params)
Command-line interface built with Admiral.
Subcommands
server— start the caching proxyinfo— print version and Crystal build informationstats— show live proxy counters via the admin APIcache— manage the cache via the admin API (list / flush / invalidate)evict— trigger LRU / time-based eviction via the admin API
Usage
apt-larder server --config /etc/apt-larder.yml
apt-larder stats
apt-larder cache list --prefix deb.debian.org
apt-larder cache invalidate "deb.debian.org/debian/pool/main/pkg.deb"
apt-larder cache flush
apt-larder evict --max-age-days 7
version
Source