AptLarder::CLI::Arguments
Inherits Iterable / Enumerable / Struct / Value / 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
Constructors
new(command : Admiral::Command)
Instance methods
[](*args, **options)
[](*args, **options, &)
each(*args, **options)
each(*args, **options, &)
exists?(name : Symbol)
get(name : Symbol)
get?(name : Symbol)
inspect(io)
Sourcerest
validate!(command : Admiral::Command)