A MoonBit project generator with support for Git repository templates.
Dependencies
moonx moonbit-community/moon-new hello --user yournamemoon-new <PATH> [--user <USER>] [--name <NAME>] [-q | --quiet]
moon-new <PATH> --template <SOURCE> [--subdir <PATH_IN_REPO>]
[--branch <BRANCH> | --tag <TAG> | --rev <COMMIT>]
[--user <USER>] [--name <NAME>] [-q | --quiet]
moon-new -h | --helpmoonx moonbit-community/moon-new hello --template moonbit-community/moonbit-template-hello
moonx moonbit-community/moon-new hello --template https://github.com/moonbit-community/moonbit-template-hello.gitmoonx moonbit-community/moon-new hello --template ./my-template
moonx moonbit-community/moon-new hello --template owner/repo --subdir templates/hello --tag v1| Variable | Meaning | Example |
|---|---|---|
| username | The resolved username, including an explicit --user | tester |
| module | The short project name, including an explicit --name | hello |
name = "{{username}}/{{module}}"{
"exclude": ["assets/**", ".github/workflows/**"],
"ignore": ["TEMPLATE.md", "template-tests"]
}Install
Download zipA MoonBit project generator with support for Git repository templates.
Dependencies