Manage configuration and cache
Change persistent defaults, inspect effective settings, and clear cached results.
Edit configuration
Set EDITOR and run:
export EDITOR=nano
moji configThe default path is ~/.moji/config.yaml. Set MOJI_CONFIG to use another
file:
MOJI_CONFIG="$PWD/moji.yaml" moji configInspect effective settings
moji config showThe command prints JSON and redacts a configured GitHub token.
Bypass or clear cache
Search results are cached by normalized query, provider, and format set. Moji also keeps a separate, bounded URL-health cache for direct links whose bytes failed font validation. Health entries expire after 30 days and do not include network, HTTP, policy, or filesystem failures.
moji "Futura" --no-cache
moji cache clearUse --no-cache when you need a fresh provider response for one invocation.
The safety-oriented URL-health cache still suppresses links already proven to
return invalid font bytes. Use moji cache clear to remove both provider
responses and URL-health entries.