Skip to content

Configuration

H9A is configured exclusively through command-line options. It reads no environment variables and no configuration files at runtime.

CLI options

Option Effect
--digit DIGIT Set the digit to count (0-9).
--start START Set the first number of the range.
--end END Set the last number of the range.
--json Emit machine-readable JSON instead of styled text.
--no-color Disable colors in the styled output.
--screenshot [PATH] Write a PNG screenshot of the output.

Defaults: --digit 9, --start 1, --end 100, screenshot path Screenshots/home.png.

See cli.md for the full reference.

Defaults in the code

When options are omitted, defaults are applied in h9a/cli.py (argument defaults) and h9a/core.py (count_digit(digit=9, start=1, end=100)).

Library configuration

When using H9A as a library, pass the same settings as keyword arguments:

from h9a import count_digit

result = count_digit(digit=5, start=1, end=50)

See api.md.

No config files

Earlier versions of this README referenced ~/.config/neostore/h9a/config.toml as a default config path. This is not implemented — H9A does not read or write any configuration file.


Back to Home