CLI 参考 > 配置管理命令 > si projectadd
  
si projectadd
adds members through a project
Synopsis
si projectadd [(-P value|--project=value)] [--archive=value] [--author=value] [--devpath=value] [--onExistingArchive=[confirm|cancel|sharearchive|newarchive]] [(--binaryFormat|--textFormat)] [--[no|confirm]includeFormers] [--include=file:pattern,dir:pattern...] [--exclude=file:pattern,dir:pattern...] [(--cpid=ID|--changePackageId=ID)] [--issueId=value] [--[no|confirm]closeCP] [(-d value|--description=value)] [--descriptionFile=value] [(-l|--lock)] [(-r value|--revision=value)] [--[no]retainSourceFile] [--sourceFile=value] [--[no]saveTimestamp] [--[no]unexpand] [--hostname=value] [--port=value] [--password=value] [--user=value] [(-?|--usage)] [-Fvalue] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--forceConfirm=[yes|no]] [(-F file|--selectionFile=file)] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] nonmember...
Description
si projectadd adds members to Windchill RV&S configuration management through a project.
* 
This command can be only used with the Windchill RV&S API. It is supported in the CLI only for the purpose of prototyping Windchill RV&S API implementations. It is used to add members from third party applications to Windchill RV&S. Use the si add command to add members through a Sandbox.
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--author=value
specifies an author name.
--onExistingArchive=[confirm|cancel|sharearchive|newarchive]
controls whether to allow sharing of this member's history between projects, or to create a new archive if there is already an existing archive for the member.
--onExistingArchive=confirm means always ask whether to share the archive, create a new archive, or cancel the operation.
--onExistingArchive=cancel means cancel the operation.
--onExistingArchive=sharearchive means share the archive.
--onExistingArchive=newarchive means create a new archive.
--binaryFormat
--textFormat
forces the storage of the member file to occur in binary format or text format.
--[no|confirm]closeCP
controls whether to close the associated change package.
--nocloseCP means do not close the change package.
--confirmcloseCP means ask before closing the change package.
--closeCP always closes the change package.
-d desc
--description=desc
specifies a description for the new archive. This option and the --descriptionFile option are mutually exclusive.
* 
Descriptions that include spaces must be enclosed by quotes.
--descriptionFile=file
specifies a file name, file, containing the description text for the new archive. This option and the -d or --description options are mutually exclusive.
--exclude=file:pattern,dir:pattern...
specifies a file that contains a glob pattern for excluding members.
--include=file:pattern,dir:pattern...
specifies a file that contains a glob pattern for including members.
-l
--lock
keeps locks on members.
--[no]retainSourceFile
controls whether to keep the source file after the project has been added.
--sourceFile=value
identifies the source file being added.
--[no]saveTimestamp
controls whether to set the revision timestamp to the modification date and time of the working file rather than the current date and time.
--[no]unexpand
controls whether to expand, unexpand, or ignore keywords in the member file. Keyword expansion is only available in text archives, not binary archives. For descriptions of the Windchill RV&S keywords, see the Windchill RV&S 帮助中心. Possible keywords are:
$Author: Warner, Carrie (cwarner) $
$CompanyInfo$
$Date: 2015/12/01 01:31:45IST $
$Header: si_projectadd.dita 1.2 2015/12/01 01:31:45IST Warner, Carrie (cwarner) Exp $
$Id: si_projectadd.dita 1.2 2015/12/01 01:31:45IST Warner, Carrie (cwarner) Exp $
$Locker: $
$Log: si_projectadd.dita $
Revision 1.2 2015/12/01 01:31:45IST Warner, Carrie (cwarner)
XML tagging fixes
Revision 1.1 2015/10/29 10:24:57EDT Flett, David (dflett)
Initial revision
Member added to project /rd/doc/Strategic/xmldocs/en/int-man_pages/si_ref/project.pj
$Revision: 1.2 $
$Name: 10-9_L10N_handoff1 10-9_L10N_handoff2 10-9_L10N_handoff3 10-9_L10N_handoff4 $
$ProjectName: /rd/doc/Strategic/xmldocs/en/int-man_pages/si_ref/project.pj $
$ProjectSetting $
$ProjectRevision: Last Checkpoint: 1.1.1.96 $
$RCSfile: si_projectadd.dita $
$Revision: 1.2 $
$SandboxSetting $
$Setting $
$Source: si_projectadd.dita $
$State: Exp $
nonmember...
identifies a specific project member; use spaces to specify more than one project member.
Diagnostics
See the diagnostics reference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si projectci, si projectco
Miscellaneous: ACL, diagnostics, options, preferences