Skip to content

fontist config

Manage Fontist configuration settings.

Subcommands

CommandDescription
fontist config showShow current configuration
fontist config setSet a configuration value
fontist config deleteDelete a configuration key
fontist config keysList available configuration keys

config show

Show values of the current configuration.

Syntax

sh
fontist config show

Examples

sh
fontist config show

config set

Set a configuration key to a value.

Syntax

sh
fontist config set KEY VALUE

Arguments

NameRequiredDescription
KEYYesConfiguration key name
VALUEYesValue to set

Examples

sh
# Set custom fonts path
fontist config set fonts_path /var/myfonts

# Set timeout
fontist config set open_timeout 120

config delete

Delete a configuration key (resets to default).

Syntax

sh
fontist config delete KEY

Arguments

NameRequiredDescription
KEYYesConfiguration key to delete

Examples

sh
fontist config delete fonts_path

config keys

List all available configuration keys with their default values.

Syntax

sh
fontist config keys

Examples

sh
fontist config keys

Output:

Available keys:
fonts_path (default: /home/user/.fontist/fonts)
open_timeout (default: 60)
read_timeout (default: 60)

Available Configuration Keys

KeyDefaultDescription
fonts_path~/.fontist/fontsWhere Fontist installs fonts
open_timeout60HTTP open timeout in seconds
read_timeout60HTTP read timeout in seconds

Configuration File

Configuration is stored in ~/.fontist/config.yml.

Fontist is riboseopen