> pi library add -h
Usage: pi library add [-h] [--template TEMPLATE | identifier]
Description: Create a new Library. The command puts the Library specification
into a temporary file and invokes the editor specified by the EDITOR
environment variable. Saving the file adds the Library.
Positional arguments:
identifier The name of the Library being created.
Optional arguments:
--template TEMPLATE, -t TEMPLATE
Use the specified template to add the Library. The
template is an ASCII file that defines the Library.
This can be used to add Libraries 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 create Library chips.
pi lib add chips
# Create Library using the chips.info template.
pi lib add -t chips.info
# Create Library using redirected STDOUT from script new_lib.py as template.
new_lib.py | pi lib add --template -
More information and documentation available at:
https://help.perforce.com/methodics/
Copyright © 2010-2024 Perforce, Inc.