pi property-set edit

Command Help

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

Description: Edit an existing Property Set. Only admin users can edit 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 edits the Property Set.

Positional arguments:
  identifier            The name of the Property Set to edit.

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

# Modify Property Set oscillator using the osc.info template.
  pi propset edit -t osc.info oscillator

# Modify Property Set using redirected STDOUT from script as template.
  edit_propset.py | pi propset edit --template - oscillator

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

Example

> pi property-set edit newpropset
Successfully edited Property Set 'newpropset'.