moonbit-argkit is a small command line argument parser written in MoonBit.
It is meant for examples, teaching projects, and small CLI tools that need
flags without pulling in a large framework.
Features
short flags: -v
long flags: --verbose
options with values: --output dist
inline option values: --output=dist
required option checks
default values
positional arguments
-- separator handling
schema validation and user-facing error reports
parse summaries for demos and small tools
typed values for integers, booleans, and enum-like choices
subcommand helpers
short flag bundles such as -abc
negative booleans such as --no-color
simple config/env layering helpers
shell completion, diagnostics, and Markdown/manpage rendering helpers
moonbit-argkit
moonbit-argkitis a small command line argument parser written in MoonBit. It is meant for examples, teaching projects, and small CLI tools that need flags without pulling in a large framework.Features
-v--verbose--output dist--output=dist--separator handling-abc--no-colorInstall
After publishing, install with:
For local development:
Example
Schema validation:
Help text:
License
MIT