> pi group edit -h
Usage: pi group edit [-h] [--template TEMPLATE] identifier
Description: Edit an existing Group. The command puts the Group specification
into a temporary file and invokes the editor specified by the EDITOR
environment variable. Saving the file edits the Group.
Positional arguments:
identifier The name of the Group being edited.
Optional arguments:
--template TEMPLATE, -t TEMPLATE
Use the specified template to edit the Group. The
template is an ASCII file that defines the Group. This
can be used to edit Groups 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 Group staff.
pi group edit staff
# Modify Group staff using the staff.info template.
pi group edit -t staff.info staff
# Modify Group staff using redirected STDOUT from script as template.
edit_group.py | pi group edit -t - staff
More information and documentation available at:
https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.