Skip to main content

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

OptionDescription
-t, --template <template>Template name (e.g., carbide, module, generic-erp-connector)
-o, --out-path <outPath>Path where the project will be created (defaults to project name)
-h, --helpDisplay 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

# Create a new ERP connector project (see Knowledge Base guide)
mmdev create acme -t generic-erp-connector -o ./acme-connector

ERP connector template

Use generic-erp-connector to scaffold a new MachineMetrics ERP connector (transport-agnostic starting point for REST, GraphQL, ODBC, CSV, and custom protocols):

mmdev create <connector-name> -t generic-erp-connector -o <destination-path>

Full creation, implementation, and deployment guidance lives in Creating Your Own Connector.

Usage Example

  1. Create a new Carbide application:

    mmdev create my-app -t carbide
  2. Create a new module in a specific directory:

    mmdev create my-module -t module -o ./modules/my-module