( ´∀`)文字 Moji
How-to guides

Manage configuration and cache

Change persistent defaults, inspect effective settings, and clear cached results.

Edit configuration

Set EDITOR and run:

export EDITOR=nano
moji config

The default path is ~/.moji/config.yaml. Set MOJI_CONFIG to use another file:

MOJI_CONFIG="$PWD/moji.yaml" moji config

Inspect effective settings

moji config show

The 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 "Inter" --no-cache
moji cache clear

Use --no-cache when you need a fresh provider response for one invocation. Use cache clear to remove all saved search responses.

On this page