Project Management
The MachineMetrics CLI provides commands to create and manage new projects based on templates.
Create Command
mmdev create [options] <name>
Creates a new project based on a specified template.
Options
| Option | Description |
|---|---|
-t, --template <template> | Template name (e.g., carbide, module) |
-o, --out-path <outPath> | Path where the project will be created (defaults to project name) |
-h, --help | Display help for command |
Examples
# Create a new Carbide project in a <name> directory
mmdev create my-app -t carbide
# Create a new module project in a specific directory
mmdev create my-module -t module -o ./modules/my-module
Usage Example
-
Create a new Carbide application:
mmdev create my-app -t carbide -
Create a new module in a specific directory:
mmdev create my-module -t module -o ./modules/my-module