pi dmtype add

Command Help

> pi dmtype add -h
Usage: pi dmtype add [-h] [--template TEMPLATE | identifier]

Description: Create a new DM Type. The command puts the DM Type specification
into a temporary file and invokes the editor specified by the EDITOR
environment variable. Saving the file adds the DM Type.

Positional arguments:
  identifier            The name of the DM Type being created.

Optional arguments:
  --template TEMPLATE, -t TEMPLATE
                        Use the specified template to add the DM Type. The
                        template is an ASCII file that defines the DM Type.
                        This can be used to add DM Types with a script and
                        avoid the interactive editor. To read the template
                        from STDIN, set TEMPLATE='-'.
  -h, --help            Show this help message and exit

More information and documentation available at:
  https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.

Example

> pi dmtype add newdm
Successfully created DM Type 'newdm'.