pi property-set add

Command Help

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

Description: Create a new Property Set. Only admin users can create Property
Sets. The command puts the Property Set specification into a temporary file
and invokes the editor specified by the EDITOR environment variable. Saving
the file adds the Property Set.

Positional arguments:
  identifier            Name of the Property Set to create.

Optional arguments:
  --template TEMPLATE, -t TEMPLATE
                        Use the specified template to add the Property Set.
                        The template is an ASCII file that defines the
                        Property Set. This can be used to add the Property Set
                        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 Set oscillator.
  pi propset add oscillator

# Create Property Set using the osc.info template.
  pi propset add -t osc.info

# Create Property Set using redirected STDOUT from script as template.
  new_propset.py | pi propset add --template -

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

Example

> pi propset add newpropset
Successfully created Property Set 'newpropset'.