pi property edit

Command Help

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

Description: Edit an existing Property definition. Only admin users can edit
Properties. The command puts the Property specification into a temporary file
and invokes the editor specified by the EDITOR environment variable. Saving
the file edits the Property definition.

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

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

# Modify Property definition ohms using the ohms.info template.
  pi prop edit -t ohms.info ohms

# Modify Property ohms using redirected STDOUT from script as template.
  edit_prop.py | pi prop edit -t - ohms

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

Example

> pi prop edit newprop
Successfully edited Property 'newprop'.