Creates a component in the specified workspace or stream. Initially, the component is empty.
Aliases:
create comp
| Usage: scm create component | [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] [-j/--json] <name> <workspace> |
| name | The name of the component. |
| workspace | The workspace or stream to add the component to. To specify the workspace or stream, use its name[@repo], alias, or uuid[@repo]. |
Options:
| -r, --repository-uri <arg> | The URI that specifies the location of the repository. |
| -u, --username <arg> | The user name for the repository. |
| -P, --password <arg> | The password for the repository. |
| --password-file <arg> | File that contains the user's password. |
| --certificate <arg> | The file that contains the user's login certificate. |
| --smartCard | Use the connected smart card for authentication. |
| --kerberos | Authenticate with Windows user credentials using Kerberos/SPNeGO. |
| --integratedWindows | Authenticate with Windows user credentials using Integrated Windows Authentication. |
| -j, --json | Enable JSON output. |
Example