> pi property add -h
Usage: pi property add [-h] [--template TEMPLATE | identifier]
Description: Create a new Property definition. Only admin users can create
Properties. The command puts the Property specification into a temporary file
and invokes the editor specified by the EDITOR environment variable. Saving
the file adds the Property definition.
Positional arguments:
identifier The name of the Property definition being created.
Optional arguments:
--template TEMPLATE, -t TEMPLATE
Use the specified template to add the Property. The
template is an ASCII file that defines the Property.
This can be used to add Property definitions with a
script and avoid the interactive editor. To read the
template from STDIN, set TEMPLATE='-'.
-h, --help Show this help message and exit
Examples:
# Invoke the editor to create Property definition ohms.
pi prop add ohms
# Create Property definition using the ohms.info template.
pi prop add -t ohms.info
# Create Property using redirected STDOUT from script new_prop.py as template.
new_prop.py | pi prop add --template -
More information and documentation available at:
https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.