pi workspace refresh

Command Help

> pi ws refresh -h
Usage: pi workspace refresh [-h] [--wsdir WSDIR] [--reset]

Description: Refresh a Workspace. Regenerate derived files and restore missing
refer IP Versions in the cache.

Optional arguments:
  --reset               Reset the P4 client View field so that it contains
                        only the lines generated by Pi.
  --wsdir WSDIR, -ws WSDIR
                        The Workspace directory. If not specified, the current
                        directory should be a Workspace directory.
  -h, --help            Show this help message and exit

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

Examples

> pi ws refresh