pi view edit

Command Help

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

Description: Edit an existing View. The command puts the View specification
into a temporary file and invokes the editor specified by the EDITOR
environment variable. Saving the file edits the View.

Positional arguments:
  identifier            The name of the View being edited.

Optional arguments:
  --template TEMPLATE, -t TEMPLATE
                        Use the specified template to edit the View. The
                        template is an ASCII file that defines the View. This
                        can be used to edit Views with a script and avoid the
                        interactive editor. To read the template from STDIN,
                        set TEMPLATE='-'.
  -h, --help            Show this help message and exit

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

Example

> pi view edit newview
Successfully edited View 'newview'.