npm install -g bemg- Templates for creating files are located in
bemg/templates - Package settings are located in
bemg/config.json
List of abbreviations for file types
Naming settings for the bem-naming package
creates files relative to the current folder, or new folder with given name if
name passed
Arguments:
name Create block with given name
Options:
-V, --version output the version number
-t, --types [types] List of file types separated by comma
-i, --items [items] List of entities separated by comma
-d, --dry-run [dryRun] Do not create files and folders
-h, --help display help for command
Commands:
init [override] [dryRun] Initializes all default settings
print-templates Prints the list of templates
mcp Start MCP server for AI agents
Creates a folder with bemg settings in the current directory
Options:
-o, --override [override] Overwrite files and folders of default settings
-d, --dry-run [dryRun] Do not create files and folders
-h, --help display help for command
Outputs the list of templates
Options:
-h, --help display help for command
Start MCP (Model Context Protocol) server for AI agents. Exposes bemg
capabilities to AI assistants.
Options:
-h, --help display help for command
Configuration:
{
"mcpServers": {
"bemg": {
"command": "npx",
"args": ["bemg@latest", "mcp"]
}
}
}
The code is released under the Mozilla Public License 2.0.