momoka

// Create or initialize minimal MoonBit modules with Momoka's stateless wasm CLI.

moon runwasm
moon runwasm kokic/momoka@0.7.0
$ files
SKILL.md
SKILL.md
readonly

Momoka

Use the wasm CLI to generate a minimal MoonBit module. Choose new <path> for a directory that does not exist, or init [path] for an existing directory. init defaults to the current directory.

Run the kokic/momoka Registry package through moonx:

moonx kokic/momoka -- new my-project --username alice moonx kokic/momoka -- init ./existing-project --username alice --license MIT --host gitlab.com --target js

Both commands generate moon.mod, moon.pkg, .gitignore, .moonignore, and .gitattributes. They reject existing output files; do not delete those files just to make initialization succeed. The module name uses the username and the target directory's basename.

Options shared by new and init:

OptionMeaningBuilt-in default
--username, -uModule owner and repository usernameguest
--license, -lModule license identifierApache-2.0
--hostRepository hosting domaingithub.com
--target, -tGenerated module's preferred targetnative

Use the user's supplied values; omitted options use the defaults above.

$ cat moon.mod
Author
Version
0.7.0
skill path
Module
kokic/momoka
Package
(root)
Published
4 days ago

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io