No description
  • Rust 91.6%
  • Just 3.9%
  • Nix 2.6%
  • Dockerfile 1.7%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
D. Moonfire d7a287024b
feat: got the basic wiring between modules working for iso8601
Signed-off-by: D. Moonfire <d.moonfire@moonfire.us>
2026-09-28 00:01:45 -05:00
.config feat: added an empty iso8601 component shell 2026-09-27 17:11:55 -05:00
.local/bin feat: taught module manager to load "podman:" references from config 2026-09-27 16:52:33 -05:00
docs/wit feat: got the basic wiring between modules working for iso8601 2026-09-28 00:01:45 -05:00
LICENSES chore: initial commit 2026-09-20 01:50:44 -05:00
src feat: got the basic wiring between modules working for iso8601 2026-09-28 00:01:45 -05:00
.editorconfig chore: initial commit 2026-09-20 01:50:44 -05:00
.envrc feat: implemented a proof-of-concept of loading a WASM module 2026-09-23 18:03:56 -05:00
.gitignore feat: taught module manager to load "podman:" references from config 2026-09-27 16:52:33 -05:00
.prettierignore chore: initial commit 2026-09-20 01:50:44 -05:00
Cargo.lock feat: added an empty iso8601 component shell 2026-09-27 17:11:55 -05:00
Cargo.toml feat: added an empty iso8601 component shell 2026-09-27 17:11:55 -05:00
CODE_OF_CONDUCT.md chore: initial commit 2026-09-20 01:50:44 -05:00
DCO.md chore: initial commit 2026-09-20 01:50:44 -05:00
flake.lock chore: initial commit 2026-09-20 01:50:44 -05:00
flake.nix fix: exploring the module surface in WIT 2026-09-24 18:31:22 -05:00
Justfile build: refactored module names for consistent file and naming 2026-09-25 21:30:32 -05:00
README.md feat: implemented a proof-of-concept of loading a WASM module 2026-09-23 18:03:56 -05:00
REUSE.toml fix: exploring the module surface in WIT 2026-09-24 18:31:22 -05:00
rust-toolchain.toml chore: initial commit 2026-09-20 01:50:44 -05:00

mfgames-culture

A CLI for working with various culture libraries.

Configuration

Configuration is supplied with one or more YAML files using the global --config option. Files are merged in the order supplied, so later files override earlier files. Environment variables with the MFGAMES_CULTURE_ prefix are merged after YAML files; nested keys use __.

The configuration currently contains a modules list. Each module has a single url property:

modules:
    - url: file:modules/calendar
    - url: file:///opt/mfgames/modules/gregorian
    - url: https://example.com/mfgames/module

A file:path URL is resolved as a relative path from the directory containing the last configuration file. A file://... URL is resolved as an absolute filesystem URL. Both local forms must point to an existing filesystem entry. Existing files and directories are accepted.

Other valid URL schemes are preserved and are not checked against the local filesystem. Invalid URLs and missing local paths cause configuration loading to fail before the command runs.

For example:

mfgames-culture --config config.yaml calendar test

The environment representation of a module URL uses Figment's nested separator. For example, MFGAMES_CULTURE_MODULES__0__URL overrides the URL of the first module.