CLI 参考 > 配置管理命令 > si addsandboxattr
  
si addsandboxattr
adds Sandbox attributes
Synopsis
si addsandboxattr [--attr|attribute=key=value] [-S|--sandbox=value] [--[no]failOnAmbiguousProject] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]]
Description
si addsandboxattr adds Sandbox attributes. For example,
si addsandboxattr --sandbox=C:/Aurora_Program/Libra/project.pj --attribute=OS=WIN32
* 
Attribute keys cannot contain a hyphen (-) as the first character. The first character must either be a underscore (_) or an alpha character.
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.
--attr=key=value
--attribute=key=valuespecifies the attribute to set.
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 dropsandboxattr, si configuresandbox, si addprojectattr, si dropprojectattr
Miscellaneous: ACL, diagnostics, options, preferences